https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90259
--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> --- Aha! I've just managed to reproduce it even w/ the current gcc 13 snapshot by adding -fstack-protector-all to the list of command line arguments: % powerpc-e300c3-linux-gnu-g++-13 -m32 -O1 -ffloat-store -fgcse -fnon-call-exceptions -fno-forward-propagate -fno-omit-frame-pointer -c svj3x11t.cc -fstack-protector-all svj3x11t.cc: In static member function 'static ar p<ar(j ...), i>::as(const int&, j ...) [with ar = void; i = q::r; j = {o}]': svj3x11t.cc:30:65: error: missing REG_EH_REGION note at the end of bb 6 30 | static ar as(const int &p1, j...) { (*ao<i>::ap(p1))(j()...); } | ^ during RTL pass: cprop_hardreg svj3x11t.cc:30:65: internal compiler error: verify_flow_info failed 0xc77f7e verify_flow_info() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/gcc-13-20221023/gcc/cfghooks.cc:284 0x10731e3 execute_function_todo /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/gcc-13-20221023/gcc/passes.cc:2103 0x10736fe execute_todo /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/gcc-13-20221023/gcc/passes.cc:2145 % powerpc-e300c3-linux-gnu-g++-13 -v Using built-in specs. COLLECT_GCC=powerpc-e300c3-linux-gnu-g++-13 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-e300c3-linux-gnu/13/lto-wrapper Target: powerpc-e300c3-linux-gnu Configured with: /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/gcc-13-20221023/configure --host=x86_64-pc-linux-gnu --target=powerpc-e300c3-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/powerpc-e300c3-linux-gnu/gcc-bin/13 --includedir=/usr/lib/gcc/powerpc-e300c3-linux-gnu/13/include --datadir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/13 --mandir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/13/man --infodir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/13/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-e300c3-linux-gnu/13/include/g++-v13 --with-python-dir=/share/gcc-data/powerpc-e300c3-linux-gnu/13/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --disable-libunwind-exceptions --enable-checking=yes --with-gcc-major-version-only --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-poison-system-directories --with-sysroot=/usr/powerpc-e300c3-linux-gnu --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --with-isl --disable-isl-version-check --disable-libsanitizer --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221023 (experimental) (GCC)