summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-04 06:19:02 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-04 06:19:02 +0000
commit09046f39d57f331e0b219c0ae095d37398214368 (patch)
treefd6471e9297dfce7c150bf1f07fb81caef4f7a05
parent6ab01be1b10fb2a7d398f2c0598a3bb0924fed5e (diff)
downloadppe42-gcc-09046f39d57f331e0b219c0ae095d37398214368.tar.gz
ppe42-gcc-09046f39d57f331e0b219c0ae095d37398214368.zip
* cppinit.c (is_idchar initializer): Tighten tests for when
to put the table into initialized memory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29794 138bc75d-0d04-0410-961f-82ee72b054a4
-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 5401351c625..3dc292b9421 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 3d8c088ec04..8cdf7286534 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] =
OpenPOWER on IntegriCloud