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]

Re: fix for building with gcc-2.3.3



Jeff,

This test will break if we ever bump __GNUC__ to 3 and drop the minor code 
to zero again.  I bet we have a lot of tests like that lying around.  We 
should only be testing the minor code if __GNUC__ == 2.

Richard.

> *** cppinit.c	1999/09/13 16:58:17	1.19
> --- cppinit.c	1999/10/04 06:17:24
> *************** enum { QUOTE = 0, BRACKET, SYSTEM, AFTER
> *** 212,218 ****
>   
>   /* If gcc is in use (stage2/stage3) we can make these tables initialized
>      data. */
> ! #if defined __GNUC__ && __GNUC__ >= 2
>   /* Table to tell if a character is legal as the second or later character
>      of a C identifier. */
>   U_CHAR is_idchar[256] =
> --- 212,218 ----
>   
>   /* If gcc is in use (stage2/stage3) we can make these tables initialized
>      data. */
> ! #if defined __GNUC__ && __GNUC__ >= 2 && __GNUC_MINOR__ > 8
>   /* Table to tell if a character is legal as the second or later character
>      of a C identifier. */
>   U_CHAR is_idchar[256] =
> 
> 
> 



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