re PR c/71418 (gcc ICE on x86_64-linux-gnu in min_align_of_type, at stor-layout.c...
authorMarek Polacek <polacek@redhat.com>
Wed, 8 Jun 2016 06:39:10 +0000 (06:39 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 8 Jun 2016 06:39:10 +0000 (06:39 +0000)
commit92a5f2bae5d0528d2eab43a12bef408a0ed781d5
treef25f41dab1dcd5d2a05e3da964ef44446931df8b
parent6c40eb009161a4c9ef13e39ffd31e870d54df7bc
re PR c/71418 (gcc ICE on x86_64-linux-gnu in min_align_of_type, at stor-layout.c:2402)

PR c/71418
* c-decl.c (grokdeclarator): Check TYPE_P.

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

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