]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2.
authorJeffrey A Law <law@cygnus.com>
Tue, 12 Oct 1999 06:31:11 +0000 (06:31 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 12 Oct 1999 06:31:11 +0000 (00:31 -0600)
        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.

From-SVN: r29913

gcc/ChangeLog
gcc/cppinit.c

index c0d771400910e02e640198dd8ef828aca6b627ea..b3dc17a1cfddf3ab2751ceac3506e9f5f0bff8b1 100644 (file)
@@ -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  <oliva@lsd.ic.unicamp.br>
+       * 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.
index f9bc306bd52fcf7101353ee849f09a80c8734224..4fb3ca8d94d93c3dac9ddd6c29b8acb39e3578b5 100644 (file)
@@ -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] =