re PR c/35440 (ICE resulting in completely broken diagnostic)
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Apr 2008 13:07:27 +0000 (15:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Apr 2008 13:07:27 +0000 (15:07 +0200)
commit05008a0c3c6826ee6bc4b5d0368c068af1509d58
treef9bb3db532628c7015cc560987daa6670a8476ee
parent5f4bebbf4ef7c7b28f68e369ca1aa598132b3eba
re PR c/35440 (ICE resulting in completely broken diagnostic)

PR c/35440
* c-pretty-print.c (pp_c_initializer_list): Handle CONSTRUCTOR
for all types.

* gcc.dg/pr35440.c: New test.

From-SVN: r133897
gcc/ChangeLog
gcc/c-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr35440.c [new file with mode: 0644]