[Bug rtl-optimization/47602] Permit inline asm to clobber PIC register
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 3 23:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47602
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2011.02.03 23:49:50
Resolution|DUPLICATE |
Ever Confirmed|0 |1
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-02-03 23:49:50 UTC ---
No, this is not a duplicate of PR 8340. I am suggesting a different way of
handling the situation, which would still produce correct code. I am
suggesting that when an asm clobbers the PIC register, that we explicitly save
and restore the register around the asm.
More information about the Gcc-bugs
mailing list