cppinit.c (is_idchar initializer): Loosen tests to accept gcc 2.>6 and >2.
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Mon, 4 Oct 1999 11:11:16 +0000 (11:11 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Mon, 4 Oct 1999 11:11:16 +0000 (11:11 +0000)
* cppinit.c (is_idchar initializer): Loosen tests to accept
gcc 2.>6 and >2.

From-SVN: r29802

gcc/ChangeLog
gcc/cppinit.c

index 922e7363af76bf181f1d9406c4554fc19e85a8b3..f25dc2800eb2875ddffff1ad52fb00d1820789c3 100644 (file)
@@ -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
index 8cdf7286534394bffcc16bad387081a4dec51af3..a30344d86a59800d9a7da7a24e4506b57b1d68b5 100644 (file)
@@ -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] =