+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.
--- /dev/null
+# 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