Re: C++ PATCH for c++/64701 (ICE with statement-expression)

2015-01-23 Thread Jason Merrill
On 01/23/2015 09:43 AM, Jason Merrill wrote: The constexpr expansion code doesn't understand the C++ front end statement tree codes; for expanding a constexpr call it expects the gimplified form. For now let's not bother trying to expand a statement-expression. This is what I'm actually checki

C++ PATCH for c++/64701 (ICE with statement-expression)

2015-01-23 Thread Jason Merrill
The constexpr expansion code doesn't understand the C++ front end statement tree codes; for expanding a constexpr call it expects the gimplified form. For now let's not bother trying to expand a statement-expression. Tested x86_64-pc-linux-gnu, applying to trunk. commit e01d0162df7b21bb26449e