diff options
author | Shujing Zhao <pearly.zhao@oracle.com> | 2010-06-25 07:31:49 +0000 |
---|---|---|
committer | Shujing Zhao <pzhao@gcc.gnu.org> | 2010-06-25 07:31:49 +0000 |
commit | 09a1e889cc466848ee188aa9987162ab4d7401aa (patch) | |
tree | 6d4b0f5cbcd58e0c2839440b121c12a0e79e6107 /gcc/tree-ssa-loop-unswitch.c | |
parent | 418f840c1b52c1ff7884e54b70164490b3025d5c (diff) | |
download | gcc-09a1e889cc466848ee188aa9987162ab4d7401aa.zip gcc-09a1e889cc466848ee188aa9987162ab4d7401aa.tar.gz gcc-09a1e889cc466848ee188aa9987162ab4d7401aa.tar.bz2 |
re PR c/44517 (improve diagnostic for mispelled typename in function declaration)
gcc/
2010-06-25 Shujing Zhao <pearly.zhao@oracle.com>
PR c/44517
* c-parser.c (c_parser_parms_list_declarator): Return NULL if one of
parameters are not good.
(c_parser_parameter_declaration): Error unknown type name if the type
name can't start declaration specifiers.
gcc/testsuite/
2010-06-25 Shujing Zhao <pearly.zhao@oracle.com>
PR c/44517
* gcc.dg/noncompile/pr44517.c: New.
* gcc.dg/noncompile/990416-1.c: Adjust expected error.
From-SVN: r161363
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions