diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/20010122-1.x')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20010122-1.x | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20010122-1.x b/gcc/testsuite/gcc.c-torture/execute/20010122-1.x new file mode 100644 index 000000000..655823644 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20010122-1.x @@ -0,0 +1,11 @@ +# This test relies on __builtin_return_address(1) returning something +# useful or NULL. This is not guaranteed to be be so, especially when +# -fomit-frame-pointer is used. So do not test with it. + +set torture_eval_before_compile { + if {[string match {*-fomit-frame-pointer*} "$option"]} { + continue + } +} + +return 0 |