This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] testcase cleanup gcc.c-torture/execute/920501-7.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]