https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106568
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jeffrey Walton from comment #9) > (In reply to Andrew Pinski from comment #8) > > (In reply to Jeffrey Walton from comment #7) > > > > Try putting a breakpoint on the following functions: > > _Unwind_RaiseException > > _Unwind_ForcedUnwind > > _Unwind_Resume > > _Unwind_Resume_or_Rethrow > > _Unwind_DeleteException > > > > besides _Unwind_Resume which will be hit at least once since the backtrace > > shows it was hit, what is the backtrace for these breapoints? > > The only breakpoint that hits is _Unwind_Resume. > > The backtrace for _Unwind_Resume is: Well at least this narrows down which function is messing up. The _Unwdind_Resume is at the end of the 1st inner scope of ValidateECGDSAStandard. This is definitely some kind of EH issue (I am saying GCC is miscompiling either the try/finally for the deconstructor call of oid in ValidateECGDSAStandard).