aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>1999-10-04 11:11:16 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1999-10-04 11:11:16 +0000
commit712fbcfac44596edcfb54d1771dcc8a91e873468 (patch)
treecb69c16da27d39a5efc76d1ebb0d61bb89c80a21
parent39c76b4f031db5f1cb51d79016305f1a9b35d80e (diff)
downloadgcc-712fbcfac44596edcfb54d1771dcc8a91e873468.zip
gcc-712fbcfac44596edcfb54d1771dcc8a91e873468.tar.gz
gcc-712fbcfac44596edcfb54d1771dcc8a91e873468.tar.bz2
cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2.
* cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2. From-SVN: r29802
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cppinit.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 922e736..f25dc28 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+
+ * cppinit.c (is_idchar initializer): Loosen tests to accept
+ gcc 2.>6 and >2.
+
Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
* mips.md: Define conditional move patterns for floating point
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index 8cdf728..a30344d 100644
--- a/gcc/cppinit.c
+++ b/gcc/cppinit.c
@@ -212,7 +212,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 && __GNUC_MINOR__ > 8
+#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] =