https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70387
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |target Target|i586-pc-msdosdjgpp |djgpp Severity|normal |enhancement Status|WAITING |NEW --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to jwjagersma from comment #4) > Created attachment 38096 [details] > Test case 2 > > Generic test case, which doesn't require djgpp or a DOS machine. (Assuming > throwing from inline asm is similar enough) > > compile with: > "g++ -std=gnu++14 -fnon-call-exceptions throw_from_asm.cpp" Yes GCC adds no unwind info and it is hard to do from an inline-asm since GCC has no information on what the inline-asm could do. So that part is more of a documentation rather than anything else there. As far as the other one, throwing from an interrupt in DOS requires you have to have a MD_FALLBACK_FRAME_STATE_FOR defined which is not done for djgpp and would need to be custom for your interrupt handler. I don't know the best way forward for this really except to say there is not much to be done here unless someone steps up and adds interrupt handler support to djgpp and then adds throwing through the interrupt handler support too.