This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] testcase cleanup gcc.c-torture/execute/920501-7.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] testcase cleanup gcc.c-torture/execute/920501-7.c
- From: Catherine Moore <clm at redhat dot com>
- Date: Mon, 11 Dec 2000 13:42:18 -0800
- Cc: clm at redhat dot com
- Reply-To: clm at redhat dot com
This patch cleans up gcc.c-torture/execute/920501-7.c. Okay to install?
2000-12-11 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
Index: 920501-7.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/gcc.c-torture/execute/920501-7.c,v
retrieving revision 1.4
diff -p -r1.4 920501-7.c
*** 920501-7.c 2000/05/19 02:54:38 1.4
--- 920501-7.c 2000/12/11 21:38:56
***************
*** 4,10 ****
#define DEPTH 1000
#endif
! #ifndef NO_LABEL_VALUES
x(a)
{
__label__ xlab;
--- 4,10 ----
#define DEPTH 1000
#endif
! #if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
x(a)
{
__label__ xlab;
*************** x(a)
*** 22,28 ****
main ()
{
! #ifndef NO_LABEL_VALUES
if (x (DEPTH) != DEPTH)
abort ();
#endif
--- 22,28 ----
main ()
{
! #if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
if (x (DEPTH) != DEPTH)
abort ();
#endif