From: Jeffrey A Law Date: Tue, 12 Oct 1999 06:31:11 +0000 (+0000) Subject: cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2. X-Git-Tag: releases/gcc-2.95.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62b473787a03449a3af66c18a2b52f1b4c766ee8;p=thirdparty%2Fgcc.git cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2. Mon Oct 4 08:54:12 1999 Alexandre Oliva * cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2. From-SVN: r29913 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0d771400910..b3dc17a1cfdd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ Mon Oct 11 23:35:19 1999 Jeffrey A Law (law@cygnus.com) + Mon Oct 4 08:54:12 1999 Alexandre Oliva + * cppinit.c (is_idchar initializer): Loosen tests to accept + gcc 2.>6 and >2. + Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com) * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp command line. diff --git a/gcc/cppinit.c b/gcc/cppinit.c index f9bc306bd52f..4fb3ca8d94d9 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -209,7 +209,8 @@ enum { QUOTE = 0, BRACKET, SYSTEM, AFTER }; /* If gcc is in use (stage2/stage3) we can make these tables initialized data. */ -#if defined __GNUC__ && __GNUC__ >= 2 +#if defined __GNUC__ && (__GNUC__ > 2 \ + || (__GNUC__ == 2 && __GNUC_MINOR__ > 6)) /* Table to tell if a character is legal as the second or later character of a C identifier. */ U_CHAR is_idchar[256] =