https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552
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 57850 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57850&action=edit gcc14-pr114552.patch Untested fix. Note, perhaps for GCC 15 we could support even non-matching sizes, as long as we'd create a CONSTRUCTOR for just the needed bytes. But, in that case we wouldn't have to require that it is loaded from the beginning of a .rodata MEM.