Re: [C++ Patch] PR 70266

2017-03-03 Thread Jason Merrill
OK. On Fri, Mar 3, 2017 at 12:26 AM, Paolo Carlini wrote: > Hi, > > one more case of OVERLOAD filtering to cxx_eval_constant_expression and > causing an ICE. > > In order to have a proper diagnostic early enough I think that in > build_must_not_throw_expr we want to use perform_implicit_conversio

[C++ Patch] PR 70266

2017-03-03 Thread Paolo Carlini
Hi, one more case of OVERLOAD filtering to cxx_eval_constant_expression and causing an ICE. In order to have a proper diagnostic early enough I think that in build_must_not_throw_expr we want to use perform_implicit_conversion_flags on the condition before calling cxx_constant_value for it.