re PR c++/57041 (ICE in lookup_field_1, at cp/search.c:376 (with dot-prefixed structu...
authorJason Merrill <jason@redhat.com>
Tue, 14 May 2013 14:19:15 +0000 (10:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 May 2013 14:19:15 +0000 (10:19 -0400)
commitadce5cdf6f3f32dca2004892b369157284e9c0d5
treec207ff0e3bb1df6cbf58baafa8066b1bb865682e
parentfc7721ee68a02651b6d8d4b2958fe02c7b02342a
re PR c++/57041 (ICE in lookup_field_1, at cp/search.c:376 (with dot-prefixed structure initialisation))

PR c++/57041
* pt.c (tsubst_copy_and_build): Don't recur into a designator.

From-SVN: r198887
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/ext/desig6.C