Re: [PATCH] c++: ICE when late parsing noexcept/NSDMI [PR98333]

2021-01-19 Thread Jason Merrill via Gcc-patches
On 1/12/21 9:13 PM, Marek Polacek wrote: Since certain members of a class are a complete-class context [class.mem.general]p7, we delay their parsing untile the whole class has been parsed. For instance, NSDMIs and noexcept-specifiers. The order in which we perform this delayed parsing matters;

[PATCH] c++: ICE when late parsing noexcept/NSDMI [PR98333]

2021-01-12 Thread Marek Polacek via Gcc-patches
Since certain members of a class are a complete-class context [class.mem.general]p7, we delay their parsing untile the whole class has been parsed. For instance, NSDMIs and noexcept-specifiers. The order in which we perform this delayed parsing matters; we were first parsing NSDMIs and only they