Re: [PATCH] c++: ICE on invalid with NSDMI in C++98 [PR98352]

2021-03-26 Thread Jason Merrill via Gcc-patches
On 3/26/21 3:41 PM, Marek Polacek wrote: NSDMIs are a C++11 thing, and here we ICE with them on the non-C++11 path. Fortunately all we need is a small tweak to my recent r11-7835 patch (and a small tweak to the new test). Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? OK. gcc/

[PATCH] c++: ICE on invalid with NSDMI in C++98 [PR98352]

2021-03-26 Thread Marek Polacek via Gcc-patches
NSDMIs are a C++11 thing, and here we ICE with them on the non-C++11 path. Fortunately all we need is a small tweak to my recent r11-7835 patch (and a small tweak to the new test). Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? gcc/cp/ChangeLog: PR c++/98352 * meth