https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97848
Avi Kivity <avi at scylladb dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Avi Kivity <avi at scylladb dot com> ---
Fixed on trunk (12.0)
foo_good():
movq x@gottpoff(%rip), %rax
movl %fs:(%rax), %eax
ret
set_foo(int):
movq x@gottpoff(%rip), %rax
movl %edi, %fs:(%rax)
ret
