Re: C++ PATCH for c++/53356 (C++11 ICE with new)

2012-05-30 Thread Jason Merrill
On 05/30/2012 10:44 AM, Jason Merrill wrote: The code in build_new_1 already knows how to handle an initializer that it was unable to stabilize, but the logic was backwards in a critical place. I'm surprised this typo hasn't been hit before since it was introduced in 2006... ...and then this pa

C++ PATCH for c++/53356 (C++11 ICE with new)

2012-05-30 Thread Jason Merrill
The code in build_new_1 already knows how to handle an initializer that it was unable to stabilize, but the logic was backwards in a critical place. I'm surprised this typo hasn't been hit before since it was introduced in 2006... Tested x86_64-pc-linux-gnu, applying to trunk and 4.7. commit