diff options
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/c-family/c-pragma.c | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 45ed356..595b92f 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,4 +1,10 @@ -2015-01-14 Ryan Burn <contact@rnburn.com> +2016-01-15 Jakub Jelinek <jakub@redhat.com> + + PR bootstrap/68271 + * c-pragma.c (c_register_pragma_1): Adjust comment to note that + C++ FE no longer has limit on number of pragmas. + +2015-01-14 Ryan Burn <contact@rnburn.com> PR c++/69048 * cilk.c (create_cilk_wrapper_body): Call fold_build_cleanup_point_expr diff --git a/gcc/c-family/c-pragma.c b/gcc/c-family/c-pragma.c index b873664..4e72f65 100644 --- a/gcc/c-family/c-pragma.c +++ b/gcc/c-family/c-pragma.c @@ -1372,8 +1372,9 @@ c_register_pragma_1 (const char *space, const char *name, id = registered_pragmas.length (); id += PRAGMA_FIRST_EXTERNAL - 1; - /* The C++ front end allocates 8 bits in cp_token; the C front end - allocates 8 bits in c_token. At present this is sufficient. */ + /* The C front end allocates 8 bits in c_token. The C++ front end + keeps the pragma kind in the form of INTEGER_CST, so no small + limit applies. At present this is sufficient. */ gcc_assert (id < 256); } |