[Bug target/84790] Miscompilation for MIPS16 with -fpic and -Os or -O2

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 12 08:47:00 GMT 2018


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clm at codesourcery dot com,
                   |                            |ebotcazou at gcc dot gnu.org,
                   |                            |matthew.fortune at imgtec dot com

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I've hacked up a patch that seems to fix this issue, but I have no idea if
> the approach is correct.

This might slightly pessimize (maybe test mips_symbol_binds_local_p?) but only
a MIPS maintainer can give an informed opinion here, so CCing them.


More information about the Gcc-bugs mailing list