https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90259
--- Comment #4 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Arseny Solokha from comment #3) > 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()...); } > | ^ It's weird that I still can't reproduce this with the extra option -fstack-protector-all, I double checked your provided configuration command, although the host and build are different, the others are the same as mine. Could you provide one dump file for -mdebug=target?