PR c/71266
commitabfbb5b53b857d6d9479afc4b7410b6432267d85
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2016 14:58:39 +0000 (25 14:58 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2016 14:58:39 +0000 (25 14:58 +0000)
tree017c80345fc2b353a4bb9339f25c9182f4f6baf4
parent2c995da92d3c973e0017e94bc7f6d782da8f8017
PR c/71266
* c-decl.c (store_parm_decls_oldstyle): Skip non-PARM_DECLs.

* gcc.dg/noncompile/old-style-parm-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236708 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/old-style-parm-3.c [new file with mode: 0644]