aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/20010122-1.x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/execute/20010122-1.x')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.c-torture/execute/20010122-1.x11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/20010122-1.x b/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/20010122-1.x
new file mode 100644
index 000000000..655823644
--- /dev/null
+++ b/gcc-4.9/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