https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117662
--- Comment #1 from Frantisek Sumsal <frantisek at sumsal dot cz> --- And, of course, I forgot to provide the gcc version. I use the gcc-latest build from copr.fedorainfracloud.org/dmalcolm/gcc-latest on Fedora 40, i.e.: $ /opt/gcc-latest/bin/gcc --version gcc (GCC) 15.0.0 20241020 (experimental) Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.