Re: [C++ PATCH v2] PR c++/93324 - ICE with -Wall on constexpr if.

2020-01-21 Thread Jason Merrill
On 1/19/20 4:18 PM, Marek Polacek wrote: On Sun, Jan 19, 2020 at 10:00:42PM +0100, Jakub Jelinek wrote: On Sun, Jan 19, 2020 at 03:34:48PM -0500, Marek Polacek wrote: Bootstrapped/regtested on x86_64-linux, ok for trunk? * semantics.c (is_std_constant_evaluated_p): Check fndecl.

Re: [C++ PATCH v2] PR c++/93324 - ICE with -Wall on constexpr if.

2020-01-19 Thread Marek Polacek
On Sun, Jan 19, 2020 at 10:00:42PM +0100, Jakub Jelinek wrote: > On Sun, Jan 19, 2020 at 03:34:48PM -0500, Marek Polacek wrote: > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > > > * semantics.c (is_std_constant_evaluated_p): Check fndecl. > > > > * g++.dg/cpp1z/constexpr-if3