re PR c/35750 (ICE with invalid old-style parameter declaration)
authorVolker Reichelt <v.reichelt@netcologne.de>
Mon, 31 Mar 2008 19:37:45 +0000 (19:37 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 31 Mar 2008 19:37:45 +0000 (19:37 +0000)
commitbb686a19e90ef34eb921e116dcf81a25aaa02cb4
treed3592297b0a78fb1d59c1996f7f6c5d09d069b18
parentdec55d763c498096e4f8211e212c8b0631829ce6
re PR c/35750 (ICE with invalid old-style parameter declaration)

PR c/35750
* c-decl.c (store_parm_decls_oldstyle): Skip invalid parameters.

* gcc.dg/old-style-param-1.c: New test.

From-SVN: r133771
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/old-style-param-1.c [new file with mode: 0644]