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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looking at *.optimized dump, mov %%fs:%c1,%0 appears in there only bb 64,
guarded by flags_90(D) & 4 check, so exactly the check that appears in the
source code
- flags & DL_LOOKUP_GSCOPE_LOCK (among various other earlier checks).
But in the assembly it is unconditional at the start of the function, so
something must have hoisted that asm insn to the start of the function.

Reply via email to