20010122-1.x: Do not test with -fomit-frame-pointer.

* gcc.c-torture/execute/20010122-1.x: Do not test with
        -fomit-frame-pointer.

From-SVN: r55537
This commit is contained in:
Ian Dall 2002-07-17 17:54:16 +00:00 committed by Richard Henderson
parent 23ff022370
commit ce0ead2521
2 changed files with 16 additions and 0 deletions

View 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.

View File

@ -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