https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
--- Comment #5 from Marek Polacek ---
But unfortunately that patch fixes Comment 3 but not the original testcase...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
--- Comment #4 from Marek Polacek ---
All right, I've got it now: we need to catch the extra qualification, similarly
as in
struct T
{
struct U;
struct T::U {};
};
I've got a patch.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
--- Comment #3 from Marek Polacek ---
No, I misunderstood, that would make us accept the code. But at least I have
simpler testcase:
struct S
{
enum E : int;
enum S::E : int { foo } e;
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
Richard Biener changed:
What|Removed |Added
Keywords||ice-on-invalid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70513
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|