Re: C++ PATCH for c++/66387 (error with lambda and constexpr array)

2015-06-16 Thread Jason Merrill
On 06/10/2015 09:01 AM, Jason Merrill wrote: My change to rationalize the *_constant_value functions broke this testcase, because we were no longer replacing the reference to the array with its constant value. Fixed by using maybe_constant_value instead. We need to deal with this properly in t

C++ PATCH for c++/66387 (error with lambda and constexpr array)

2015-06-10 Thread Jason Merrill
My change to rationalize the *_constant_value functions broke this testcase, because we were no longer replacing the reference to the array with its constant value. Fixed by using maybe_constant_value instead. Tested x86_64-pc-linux-gnu, applying to trunk. commit 00557979b84dabd18eb7cf46cb20be