20010122-1.x: Do not test with -fomit-frame-pointer.
authorIan Dall <ian@sibyl.beware.dropbear.id.au>
Wed, 17 Jul 2002 17:54:16 +0000 (17:54 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 17 Jul 2002 17:54:16 +0000 (10:54 -0700)
        * gcc.c-torture/execute/20010122-1.x: Do not test with
        -fomit-frame-pointer.

From-SVN: r55537

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20010122-1.x [new file with mode: 0644]

index 1cef63b62d79fffb313447fc5722ba153bfbf6c7..c54d6fb249c982701024c65f804a2d9ae7ae8705 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-17  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
+
+       * gcc.c-torture/execute/20010122-1.x: Do not test with
+       -fomit-frame-pointer.
+
 2002-07-17  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        * g++.dg/template/instantiate2.C: New test.
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 (file)
index 0000000..6558236
--- /dev/null
@@ -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