re PR c/71426 (gcc ICE on x86_64-linux-gnu in get_parm_info, at c/c-decl.c:7059)
authorMarek Polacek <polacek@redhat.com>
Wed, 8 Jun 2016 06:41:55 +0000 (06:41 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 8 Jun 2016 06:41:55 +0000 (06:41 +0000)
commit08203f73d119a1f01c2b604ba445ef29bdb1b410
tree534f99d90a2c95da95dd956a96021632fb4b1715
parent92a5f2bae5d0528d2eab43a12bef408a0ed781d5
re PR c/71426 (gcc ICE on x86_64-linux-gnu in get_parm_info, at c/c-decl.c:7059)

PR c/71426
* c-decl.c (get_parm_info): Don't crash on an assert on invalid
code.

* gcc.dg/noncompile/pr71426.c: New test.

From-SVN: r237196
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/pr71426.c [new file with mode: 0644]