[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: x86_64-gnu 14.2.0 cross-compiler -O2 removes THREAD_SETMEM in glibc
From: |
Andreas Schwab |
Subject: |
Re: x86_64-gnu 14.2.0 cross-compiler -O2 removes THREAD_SETMEM in glibc sigreturn.c |
Date: |
Sun, 24 Nov 2024 13:58:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Nov 24 2024, Samuel Thibault via Gcc-bugs wrote:
> Sergey points me at
>
> https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Goto-Labels
>
> “
> GCC assumes that asm execution falls through to the next statement (if
> this is not the case, consider using the __builtin_unreachable intrinsic
> after the asm statement)
> ”
>
> so it's the documented way to make it so, but apparently it does more
> than this and affects the fs-segmented store.
This is only about asm goto.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Re: x86_64-gnu 14.2.0 cross-compiler -O2 removes THREAD_SETMEM in glibc sigreturn.c, Jonathan Wakely, 2024/11/25