https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89502
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-02-26 CC| |ubizjak at gmail dot com Ever confirmed|0 |1 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- We should do movl $24, %edx movl %fs:(%rdx), %ecx instead of movl $24, %edx movl %fs:(%edx), %ecx Ever better, we can use UNSPEC_TP to handle it: movl %fs:24, %ecx to save a register.