This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/66631] inability to clobber segment regs makes tls problematic
- From: "stsp at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Jun 2015 22:21:57 +0000
- Subject: [Bug inline-asm/66631] inability to clobber segment regs makes tls problematic
- Auto-submitted: auto-generated
- References: <bug-66631-4 at http dot gcc dot gnu dot org/bugzilla/>
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?