[Bug c++/125541] ICE when reflect_constant_array is used on the data member list of a struct containing an anonymous union with no named member.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 11 16:55:01 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125541

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 64713
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64713&action=edit
gcc17-pr125541.patch

Untested fix.


More information about the Gcc-bugs mailing list