This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix for building with gcc-2.3.3
- To: law at cygnus dot com
- Subject: Re: fix for building with gcc-2.3.3
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Mon, 04 Oct 1999 11:31:55 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- Cc: richard dot earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: richard dot earnshaw at arm dot com
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] =
>
>
>