aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2016-01-15 21:57:54 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-01-15 21:57:54 +0100
commite0a575ffab61ef4702c3384a1379a32526f63cd3 (patch)
tree3927c071c279417ba6da71ec62c1b8168f4e595f /gcc/cp/parser.h
parentafbc5ae887b898d2a828d37e1dd8117a079e8243 (diff)
downloadgcc-e0a575ffab61ef4702c3384a1379a32526f63cd3.zip
gcc-e0a575ffab61ef4702c3384a1379a32526f63cd3.tar.gz
gcc-e0a575ffab61ef4702c3384a1379a32526f63cd3.tar.bz2
re PR bootstrap/68271 (Boostrap fails on x86_64-apple-darwin14 at r230084)
PR bootstrap/68271 * parser.h (cp_token): Remove pragma_kind field. Add comment with number of unused bits. * parser.c (eof_token): Remove pragma_kind field initializer. (cp_lexer_get_preprocessor_token): Don't set pragma_kind field, don't clear CPP_PRAGMA u.value. (cp_parser_pragma_kind): New function. (cp_parser_omp_sections_scope, cp_parser_oacc_kernels_parallel, cp_parser_omp_construct, cp_parser_initial_pragma, cp_parser_pragma): Use cp_parser_pragma_kind instead of accessing pragma_kind field. * c-pragma.c (c_register_pragma_1): Adjust comment to note that C++ FE no longer has limit on number of pragmas. From-SVN: r232451
Diffstat (limited to 'gcc/cp/parser.h')
-rw-r--r--gcc/cp/parser.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/parser.h b/gcc/cp/parser.h
index 4396e33..ccbace9 100644
--- a/gcc/cp/parser.h
+++ b/gcc/cp/parser.h
@@ -47,8 +47,6 @@ struct GTY (()) cp_token {
ENUM_BITFIELD (rid) keyword : 8;
/* Token flags. */
unsigned char flags;
- /* Identifier for the pragma. */
- ENUM_BITFIELD (pragma_kind) pragma_kind : 8;
/* True if this token is from a context where it is implicitly extern "C" */
BOOL_BITFIELD implicit_extern_c : 1;
/* True if an error has already been reported for this token, such as a
@@ -59,6 +57,7 @@ struct GTY (()) cp_token {
it is no longer a valid token and it should be considered
deleted. */
BOOL_BITFIELD purged_p : 1;
+ /* 5 unused bits. */
/* The location at which this token was found. */
location_t location;
/* The value associated with this token, if any. */