Re: [PATCH v2] c++: ICE in value_dependent_expression_p in C++98 mode [PR94938]

2020-05-06 Thread Jason Merrill via Gcc-patches
On 5/5/20 5:35 PM, Marek Polacek wrote: On Mon, May 04, 2020 at 09:18:57PM -0400, Jason Merrill wrote: On 5/4/20 7:32 PM, Marek Polacek wrote: Here we ICE with -std=c++98 since the newly added call to uses_template_parms (r10-6357): we hit 26530 gcc_assert (cxx_dialect >= cxx11

Re: [PATCH v2] c++: ICE in value_dependent_expression_p in C++98 mode [PR94938]

2020-05-05 Thread Marek Polacek via Gcc-patches
On Mon, May 04, 2020 at 09:18:57PM -0400, Jason Merrill wrote: > On 5/4/20 7:32 PM, Marek Polacek wrote: > > Here we ICE with -std=c++98 since the newly added call to > > uses_template_parms > > (r10-6357): we hit > > 26530 gcc_assert (cxx_dialect >= cxx11 > > 26531