Re: [C++ PATCH] Handle CASE_HIGH in constexpr evaluation (PR c++/72868)

2016-08-11 Thread Jason Merrill
OK for trunk and 6. On Thu, Aug 11, 2016 at 10:55 AM, Jakub Jelinek wrote: > Hi! > > As mentioned in the PR, constexpr.c has been handling cases with ranges > just as the lowest value of the range. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for > trunk? What abou

[C++ PATCH] Handle CASE_HIGH in constexpr evaluation (PR c++/72868)

2016-08-11 Thread Jakub Jelinek
Hi! As mentioned in the PR, constexpr.c has been handling cases with ranges just as the lowest value of the range. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? What about 6.2 (not a regression, but low risk fix for wrong-code)? 2016-08-11 Jakub Jelinek