https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274
--- Comment #12 from Tomas Kalibera <tomas.kalibera at gmail dot com> --- I've tested with GCC 10.3 with R. R can be built and passes its tests (without the patch, it crashes). Also, I've checked the generated assembly with an awk script looking for a call instruction immediately followed by .seh_endproc. I didn't find any (while there were many without the patch, based on one the attached example was created). Thanks for the fix.