https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113153
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|suboptimal error m
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113153
--- Comment #2 from Andrew Pinski ---
If you remove the class, GCC has a decent error message:
```
:1:11: error: expected identifier before 'register'
1 | enum register { rax, rcx, rdx, rbx };
| ^~~~
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113153
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #1 from Andrew