[patch] gcc.c-torture/execute/921017-1.c
Catherine L. Moore
clm@cygnus.com
Tue Apr 18 13:35:00 GMT 2000
I need this for a port which doesn't support nested functions:
Tue Apr 18 15:11:23 2000 Catherine Moore <clm@cygnus.com>
* execute/921017-1.c: Check for NO_TRAMPOLINES.
Index: 921017-1.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/gcc.c-torture/execute/921017-1.c,v
retrieving revision 1.2
diff -p -r1.2 921017-1.c
*** 921017-1.c 1998/12/16 22:11:41 1.2
--- 921017-1.c 2000/04/18 20:34:23
*************** f(n)
*** 10,15 ****
--- 10,17 ----
}
main()
{
+ #ifndef NO_TRAMPOLINES
if(f(2)!=4711)abort();
+ #endif
exit(0);
}
More information about the Gcc-patches
mailing list