Re: C++ PATCH for c++/57041 (ICE with designated initializer)

2013-05-14 Thread Jason Merrill
On 05/13/2013 03:20 PM, Jason Merrill wrote: If we don't like the designator, we should fail pleasantly. And we ought to accept this case, anyway. commit 6a9489bb28a4caf64e1b27ce35522990590a74a4 Author: Jason Merrill Date: Tue May 14 09:08:15 2013 -0400 PR c++/57041 * pt.c (tsu

C++ PATCH for c++/57041 (ICE with designated initializer)

2013-05-13 Thread Jason Merrill
If we don't like the designator, we should fail pleasantly. Tested x86_64-pc-linux-gnu, applying to trunk and 4.8. commit be2b8cf9756a4ca4be6583f65fc4388ada2a5b77 Author: Jason Merrill Date: Mon May 13 13:26:12 2013 -0400 PR c++/57041 * decl.c (reshape_init_class): Handle error_mark