[Bug middle-end/92183] gcc tries to create a relocation in a mergeable section

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 23 07:13:00 GMT 2019


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-10-23
            Version|unknown                     |9.2.1
     Ever confirmed|0                           |1
      Known to fail|                            |7.4.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, so we'd need to move those constants to the regular .rodata then.

I'll file it as missed-optimization as linkers might to decide to drop
the mergeable flag once it sees relocations in the section.


More information about the Gcc-bugs mailing list