Re: C++ PATCH for c++/48132 (ICE with constexpr and array)

2011-03-17 Thread Richard Guenther
On Wed, Mar 16, 2011 at 9:00 PM, Jason Merrill wrote: > Jakub was right that we were failing to add indices to the array CONSTRUCTOR > along this code path.  It seems appropriate to add them earlier, in > reshape_init, like we do for classes, so this patch fixes the bug that way. > > Tested x86_64

C++ PATCH for c++/48132 (ICE with constexpr and array)

2011-03-16 Thread Jason Merrill
Jakub was right that we were failing to add indices to the array CONSTRUCTOR along this code path. It seems appropriate to add them earlier, in reshape_init, like we do for classes, so this patch fixes the bug that way. Tested x86_64-pc-linux-gnu, applying to trunk. Also OK for 4.6.0? The