[Bug c++/88578] Static C++ objects with flexible array members overlap when initializes are non-const

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 15 12:34:41 GMT 2021


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

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

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

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

Untested fix.


More information about the Gcc-bugs mailing list