re PR bootstrap/68271 (Boostrap fails on x86_64-apple-darwin14 at r230084)
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Jan 2016 20:57:54 +0000 (21:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 15 Jan 2016 20:57:54 +0000 (21:57 +0100)
commite0a575ffab61ef4702c3384a1379a32526f63cd3
tree3927c071c279417ba6da71ec62c1b8168f4e595f
parentafbc5ae887b898d2a828d37e1dd8117a079e8243
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
gcc/c-family/ChangeLog
gcc/c-family/c-pragma.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/parser.h