diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-17 17:54:16 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-17 17:54:16 +0000 |
| commit | e336e5b7cf2ff84cf62c7d719bbf0781999addf0 (patch) | |
| tree | d8bf4bbe56ed50bee81880aa74eb2d845f9a0c5a | |
| parent | 1ae6ed16560b7c458a90c52e7970a6f8482b79af (diff) | |
| download | ppe42-gcc-e336e5b7cf2ff84cf62c7d719bbf0781999addf0.tar.gz ppe42-gcc-e336e5b7cf2ff84cf62c7d719bbf0781999addf0.zip | |
* gcc.c-torture/execute/20010122-1.x: Do not test with
-fomit-frame-pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55537 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 1cef63b62d7..c54d6fb249c 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 00000000000..65582364431 --- /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 |

