diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-17 21:23:36 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-17 21:23:36 +0000 |
commit | 26ee9e7a3d58bafa1317a9781f6a8258ca590297 (patch) | |
tree | c4cfe728320526019a5d30a613a686238e9911e5 /gcc/testsuite/ChangeLog | |
parent | 2b90ba90bab68bb5ea376462fddc7e05b6e84f52 (diff) | |
download | gcc-26ee9e7a3d58bafa1317a9781f6a8258ca590297.tar.gz |
gcc:
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
* function.c (used_types_insert): Handle ERROR_MARK.
* c-decl.c (grokdeclarator): Handle ERROR_MARK.
(declspecs_add_type): Leave error_mark_node in specs->type.
(finish_declspecs): Change it to integer_type_node here.
* c-parser.c (c_parser_peek_2nd_token): Move earlier.
(enum c_lookahead_kind): New.
(c_parser_next_token_starts_typename): New name of
c_parser_next_tokens_start_typename. Accept lookahead enum
and handle it here instead of...
(c_parser_next_tokens_start_declaration): ... here. Call it.
(c_parser_declspecs): Accept another argument. Do not exit
on C_ID_ID if it is guessed to be an unknown typename.
(c_parser_parms_declarator): Use 2nd token to distinguish a K&R
declaration from an ANSI declaration starting with an unknown
typename.
(c_parser_struct_declaration, c_parser_objc_type_name,
c_parser_typeof_specifier, c_parser_declarator,
c_parser_direct_declarator_inner): Adjust calls.
(c_parser_parameter_declaration): Likewise.
(c_parser_type_name): Pass back an error_mark_node to the caller.
(c_parser_postfix_expression): Do error recovery when
c_parser_type_name returns NULL.
testsuite:
2010-12-17 Paolo Bonzini <bonzini@gnu.org>
PR c/20385
* objc.dg/tls/init-2.m: Adjust.
* gcc.dg/noncompile/920923-1.c: Adjust.
* gcc.dg/noncompile/pr44517.c: Adjust.
* gcc.dg/declspec-18.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/ChangeLog')
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 95ede64a181..7db98fc0a44 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-12-17 Paolo Bonzini <bonzini@gnu.org> + + PR c/20385 + * objc.dg/tls/init-2.m: Adjust. + * gcc.dg/noncompile/920923-1.c: Adjust. + * gcc.dg/noncompile/pr44517.c: Adjust. + * gcc.dg/declspec-18.c: New test. + 2010-12-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * gcc.dg/titype-1.c: Enable TImode on __SPU__. |