https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102689
--- Comment #8 from Christophe Lyon <clyon at gcc dot gnu.org> --- Sorry for the delay: it took me a while to reproduce the problem manually, while it does show up in CI. The problem does not happen when I rebuild a full toolchain (trunk binutils + trunk glibc + trunk gcc), but I reproduced it with just trunk gcc and Ubuntu Jammy's host binutils & glibc. I tried your new version of the testcase, and it does pass.