re PR c++/57041 (ICE in lookup_field_1, at cp/search.c:376 (with dot-prefixed structu...
authorJason Merrill <jason@redhat.com>
Mon, 13 May 2013 19:32:35 +0000 (15:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 13 May 2013 19:32:35 +0000 (15:32 -0400)
commit783faa4728c59b3ec494ebfc1a6a08597c085756
treea6b39b85f4090a6ecac1315acfcbbdf3d7ffbbaf
parent51543dc77b0a7c1e82cfb4c991dbfed7f0e1e4fd
re PR c++/57041 (ICE in lookup_field_1, at cp/search.c:376 (with dot-prefixed structure initialisation))

PR c++/57041
* decl.c (reshape_init_class): Handle error_mark_node.

From-SVN: r198844
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/ext/desig6.C [new file with mode: 0644]