aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-10-04 06:19:02 +0000
committerJeff Law <law@gcc.gnu.org>1999-10-04 00:19:02 -0600
commitd93ec8a08c9adb7c95b3750c6c1945b929c01aa1 (patch)
treefd6471e9297dfce7c150bf1f07fb81caef4f7a05
parent88deedb5c9036cbd6fb664cd96ab8bc4d4af5fdc (diff)
downloadgcc-d93ec8a08c9adb7c95b3750c6c1945b929c01aa1.zip
gcc-d93ec8a08c9adb7c95b3750c6c1945b929c01aa1.tar.gz
gcc-d93ec8a08c9adb7c95b3750c6c1945b929c01aa1.tar.bz2
cppinit.c (is_idchar initializer): Tighten tests for when to put the table into initialized memory.
* cppinit.c (is_idchar initializer): Tighten tests for when to put the table into initialized memory. From-SVN: r29794
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/cppinit.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5401351..3dc292b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
+ * cppinit.c (is_idchar initializer): Tighten tests for when
+ to put the table into initialized memory.
+
* ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
not an array of rtunion.
* gcc-page.c (ggc_alloc_rtvec): Similarly.
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index 3d8c088..8cdf728 100644
--- a/gcc/cppinit.c
+++ b/gcc/cppinit.c
@@ -212,7 +212,7 @@ 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_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] =