diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-21 23:05:55 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-21 23:05:55 +0000 |
commit | 7edc08e8f7ae4638369e37fb9709930eab6598ce (patch) | |
tree | 08684bcf3d8edbefef44e1bed6a8771fb368448a | |
parent | 7fb56759a40d74bb6734a22b4f433d6f12328fdd (diff) | |
download | ppe42-gcc-7edc08e8f7ae4638369e37fb9709930eab6598ce.tar.gz ppe42-gcc-7edc08e8f7ae4638369e37fb9709930eab6598ce.zip |
* gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38433 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20000822-1.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7c096cd0ef3..dd0874c34b8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -4,6 +4,8 @@ Thu Dec 21 22:43:03 2000 J"orn Rennecke <amylaar@redhat.com> Use long types if __INT_MAX__ is 32767. (main): Use cast to (sint32 *) when poking 88 into a_page. + * gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES. + 2000-12-21 Bernd Schmidt <bernds@redhat.com> * gcc.c-torture/compile/20001221-1.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/20000822-1.c b/gcc/testsuite/gcc.c-torture/execute/20000822-1.c index 2a4824541be..f4a084b33ed 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20000822-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20000822-1.c @@ -1,3 +1,4 @@ +#ifndef NO_TRAMPOLINES int f0(int (*fn)(int *), int *p) { return (*fn) (p); @@ -15,10 +16,13 @@ int f1(void) return f0(f2, &i); } +#endif int main() { +#ifndef NO_TRAMPOLINES if (f1() != 2) abort (); +#endif return 0; } |