diff options
author | Ian Dall <ian@sibyl.beware.dropbear.id.au> | 2002-07-17 17:54:16 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-07-17 10:54:16 -0700 |
commit | ce0ead25211d45056d6608886701484f353ca693 (patch) | |
tree | d8bf4bbe56ed50bee81880aa74eb2d845f9a0c5a /gcc | |
parent | 23ff022370f122c6736883f059c54f89fb5163cb (diff) | |
download | gcc-ce0ead25211d45056d6608886701484f353ca693.zip gcc-ce0ead25211d45056d6608886701484f353ca693.tar.gz gcc-ce0ead25211d45056d6608886701484f353ca693.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20010122-1.x | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1cef63b..c54d6fb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 index 0000000..6558236 --- /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 |