This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/47602] Permit inline asm to clobber PIC register


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47602

Jan Seiffert <kaffeemonster at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaffeemonster at googlemail
                   |                            |dot com

--- Comment #15 from Jan Seiffert <kaffeemonster at googlemail dot com> 2011-12-24 15:54:23 UTC ---
As a heavy inline asm user myself, i can understand the pain to handle PIC
yourself, but there is no way around that.

You can "accidentally" use the PIC register by a memory operand ("m"). Then the
compiler can not save it for you.

Greetings
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]