[Bug c++/89025] Wrong point of declaration for enumeration names

2025-07-15 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89025

TC  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from TC  ---
https://cplusplus.github.io/CWG/issues/2516.html changed the point of
declaration (now called locus) for these.

[Bug c++/89025] Wrong point of declaration for enumeration names

2020-04-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89025

--- Comment #2 from Marek Polacek  ---
(In reply to Marek Polacek from comment #1)
> None of the other compilers I've tried implement seem to implement this.

s/implement//

[Bug c++/89025] Wrong point of declaration for enumeration names

2020-04-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89025

Marek Polacek  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek  ---
This is tricky; we can't just move the start_enum code in
cp_parser_enum_specifier before parsing the enum-base, because at that point we
don't have the underlying type yet.

None of the other compilers I've tried implement seem to implement this.

[Bug c++/89025] Wrong point of declaration for enumeration names

2019-01-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89025

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-01-24
 Ever confirmed|0   |1