> I can confirm that gnat gcc 4.1.1 does *not* correctly handle SJLJ > exceptions, at least on MinGW where SJLJ is currently the only viable EH > mechanism.
The 2 SJLJ mechanisms should be available there, so you could try to use GCC SJLJ instead of GNAT SJLJ (set ZCX_By_Default to True in system.ads). > Eric, how difficult would it be to backport a fix from 4.2 to 4.1? Too invasive I'd think. -- Eric Botcazou