re PR c/71266 (gcc ICE on x86_64-linux-gnu in "store_parm_decls_oldstyle")
authorMarek Polacek <polacek@redhat.com>
Wed, 25 May 2016 14:58:39 +0000 (14:58 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 25 May 2016 14:58:39 +0000 (14:58 +0000)
commita23faf7a4f172a09bfb095081491dff1225cbf52
tree017c80345fc2b353a4bb9339f25c9182f4f6baf4
parent95efe6b6f4aea5255aef35e1c150d229f490af6e
re PR c/71266 (gcc ICE on x86_64-linux-gnu in "store_parm_decls_oldstyle")

PR c/71266
* c-decl.c (store_parm_decls_oldstyle): Skip non-PARM_DECLs.

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

From-SVN: r236708
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]