https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102984
Milian Wolff <mail at milianw dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|WAITING |RESOLVED --- Comment #8 from Milian Wolff <mail at milianw dot de> --- Hey Jonathan, that's quite odd... Today I fail to reproduce this on my system too. Yesterday I also noticed that it worked on godbolt but forgot to mention it here - sorry about that. I also tried to reduce this issue to passing aligned temporaries in code outside of std::vector, but that didn't help either. And when I'm trying today, the issue suddenly vanished, maybe there was a system update which helped in that regard, mysterious. For the record, here's the requested information from today, which does _not_ show the broken behavior anymore. the exact version of GCC; g++ (GCC) 11.1.0 Copyright (C) 2021 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. the system type; Linux milian-workstation 5.14.14-arch1-1 #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000 x86_64 GNU/Linux ArchLinux with all latest updates the options given when GCC was configured/built; g++ --verbose Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.1.0 (GCC) the complete command line that triggers the bug; the compiler output (error messages, warnings, etc.); and both specified in the original message already the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command, or, in the case of a bug report for the GNAT front end, a complete set of source files (see below). I'm going to close this report and will reopen it with more details once I can reproduce this again.