summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2010-11-17 18:17:17 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2010-11-17 18:17:17 +0000
commitf725e72170f4db044404007b3c33bebf3cc7600c (patch)
tree7f20a50b2e03297314d83ada80da9cddc61f1427 /libgomp
parent0197bf54a19f23c0bcb3fb2e38965db7f9434aaf (diff)
downloadgcc-f725e72170f4db044404007b3c33bebf3cc7600c.tar.gz
c-parser.c (c_token_is_qualifier, [...]): New.
2010-11-17 Paolo Bonzini <bonzini@gnu.org> * c-parser.c (c_token_is_qualifier, c_parser_next_token_is_qualifier): New. (c_parser_declaration_or_fndef, c_parser_struct_declaration): Improve error message on specs->tagdef_seen_p. (c_parser_struct_or_union_specifier): Improve error recovery. (c_parser_declspecs): Move exit condition on C_ID_ID early. Reorganize exit condition for C_ID_TYPENAME/C_ID_CLASSNAME using c_parser_next_token_is_qualifier; extend it to cover a ctsk_tagdef typespec and !typespec_ok in general. testsuite: 2010-11-17 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/two-types-1.c: New test. * gcc.dg/two-types-2.c: New test. * gcc.dg/two-types-3.c: New test. * gcc.dg/two-types-4.c: New test. * gcc.dg/two-types-5.c: New test. * gcc.dg/two-types-6.c: New test. * gcc.dg/two-types-7.c: New test. * gcc.dg/two-types-8.c: New test. * gcc.dg/two-types-9.c: New test. * gcc.dg/two-types-10.c: New test. * objc.dg/two-types-1.m: New test. From-SVN: r166874
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions