aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2008-12-05 21:05:14 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2008-12-05 21:05:14 +0000
commit13fa1171569120832ac2b6c9bea6da30e6985e97 (patch)
treea8904c575676d95cda5314cff2e0099156163daa
parent00ad9a06d63b3a7f3f48e2463f34166967d51873 (diff)
downloadgcc-13fa1171569120832ac2b6c9bea6da30e6985e97.zip
gcc-13fa1171569120832ac2b6c9bea6da30e6985e97.tar.gz
gcc-13fa1171569120832ac2b6c9bea6da30e6985e97.tar.bz2
PR c/38416, make pragma_kind 8 bits
From-SVN: r142493
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-parser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f41f83b..f86e4f7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-05 Michael Meissner <meissner@linux.vnet.ibm.com>
+
+ PR c/38416
+ * c-parser.c (struct c_token): Make pragma_kind 8 bits.
+
2008-12-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/37248
diff --git a/gcc/c-parser.c b/gcc/c-parser.c
index 6bd7f04..8c4a96f 100644
--- a/gcc/c-parser.c
+++ b/gcc/c-parser.c
@@ -148,7 +148,7 @@ typedef struct c_token GTY (())
ENUM_BITFIELD (rid) keyword : 8;
/* If this token is a CPP_PRAGMA, this indicates the pragma that
was seen. Otherwise it is PRAGMA_NONE. */
- ENUM_BITFIELD (pragma_kind) pragma_kind : 7;
+ ENUM_BITFIELD (pragma_kind) pragma_kind : 8;
/* The value associated with this token, if any. */
tree value;
/* The location at which this token was found. */