https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109506
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #3) > On our box, I bisected this to r251422. Surely that isn't the real cause of > the problem. It could not be as GCC 12.1.0 definitely works so does GCC 9.1.0. Ok, this is interesting. This fails: /opt/compiler-explorer/gcc-trunk-20230413/bin/../libexec/gcc/x86_64-linux-gnu/13.0.1/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -iprefix /opt/compiler-explorer/gcc-trunk-20230413/bin/../lib/gcc/x86_64-linux-gnu/13.0.1/ -D_GNU_SOURCE -isystem /opt/compiler-explorer/libs/boost_1_81_0 <source> -quiet -dumpdir /app/ -dumpbase output.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -g -g0 -O0 -version -fdiagnostics-color=always -fdump-passes -fdump-tree-all -fdump-rtl-all -fdump-ipa-all -o /app/output.s But this passes: /opt/compiler-explorer/gcc-trunk-20230413/bin/../libexec/gcc/x86_64-linux-gnu/13.0.1/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -iprefix /opt/compiler-explorer/gcc-trunk-20230413/bin/../lib/gcc/x86_64-linux-gnu/13.0.1/ -D_GNU_SOURCE -isystem /opt/compiler-explorer/libs/boost_1_81_0 <source> -quiet -dumpdir /app/ -dumpbase output.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -g -g0 -O0 -version -fdiagnostics-color=always -fdump-passes -fdump-tree-all -fdump-rtl-all -fdump-ipa-all -fchecking -o /app/output.s