https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123379
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |16.0
Resolution|--- |FIXED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
CWG3131 is now implemented since r16-7132-gef8af34e0d173723a607789
The first testcase compiles just fine now:
g++ -freflection -std=c++26 -o pr123379{,.C} -O2
./pr123379
1
2
3