Re: [PATCH] c++: ICE with late parsing of noexcept in nested class [PR98899]

2021-02-03 Thread Jason Merrill via Gcc-patches
On 2/2/21 5:09 PM, Marek Polacek wrote: Here we crash with a noexcept-specifier in a nested template class, because my handling of such deferred-parse noexcept-specifiers was gronked when we need to instantiate a DEFERRED_PARSE before it was actually parsed at the end of the outermost class. In

[PATCH] c++: ICE with late parsing of noexcept in nested class [PR98899]

2021-02-02 Thread Marek Polacek via Gcc-patches
Here we crash with a noexcept-specifier in a nested template class, because my handling of such deferred-parse noexcept-specifiers was gronked when we need to instantiate a DEFERRED_PARSE before it was actually parsed at the end of the outermost class. In struct S { template struct B {