https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60406
--- Comment #12 from Ian Lance Taylor <ian at airs dot com> --- Created attachment 33644 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33644&action=edit possible patch I'm not really happy with Dominik's patch because 1) it doesn't work when configuring with --enable-sjlj-exceptions; 2) the current code almost always works, even on S/390, but the patch forces us to do a lookup in the FDE table every time we call recover. I'd like to propose a different patch, that keeps the current code that almost always works, does a quick exit when there is no defer in the call stack, and does an unwind to check for a specific function in other cases. Can people on systems for which the recover.go test currently fails please try this patch and let me know whether it fixes the problem? Thanks. This is https://codereview.appspot.com/153950043 .