https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90720
--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> --- I get the same failure on Linux/x86_64 when compiling/linking with -fno-use-linker-plugin. This is the same behaviour as in PR lto/89884. It seems quite bad that gcc silently creates wrong code in such a szenario.