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 inline-asm/66631] inability to clobber segment regs makes tls problematic


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

--- Comment #1 from Stas Sergeev <stsp at users dot sourceforge.net> ---
Please note that the shown code was generated
with gcc-4.8.2, but inability to clobber segreg
with inline asm was tested with gcc-5.1.1.
A bit of dissonance here, I can't do both tests
with similar gcc.

Is there some magic -mno-xxx option that will
prevent gcc from moving the addr caclulus too
far away from the access to the volatile var?


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