egcs-980115 sunos4/hpux9 gengenrtl.c bootstrap failure

Jeffrey A Law law@cygnus.com
Sat Jan 17 22:30:00 GMT 1998


  In message < 19980115170807.25031@dot.cygnus.com >you write:
  > Right.  How about this?

  > Index: gengenrtl.c
  > ===================================================================
  > RCS file: /egcs/carton/cvsfiles/egcs/gcc/gengenrtl.c,v
  > retrieving revision 1.2
  > diff -c -p -d -r1.2 gengenrtl.c
  > *** gengenrtl.c	1998/01/13 09:06:31	1.2
  > --- gengenrtl.c	1998/01/16 01:04:03
  > *************** struct rtx_definition 
  > *** 35,41 ****
  > --- 35,45 ----
  >     const char *enumname, *name, *format;
  >   };
  >   
  > + #ifdef __STDC__
  >   #define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { # ENUM, NAME, FORMAT },
  > + #else
  > + #define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { "ENUM", NAME, FORMAT },
  > + #endif
Concatenation in non-ANSI compilers is generally handled with /**/

jeff



More information about the Gcc mailing list