------- Comment #21 from dave dot korn dot cygwin at gmail dot com 2009-01-26 19:03 ------- Hi Joey, thanks for helping look at this bug.
If you catch up with all the comments, you'll see that it's not just Cygwin, SjLj was broken on Linux too; the mechanism works the same way on both, but only Cygwin uses it as the default EH mechanism, so it doesn't get as much testing! I'm fairly confident I've analyzed the problem correctly and that the patch I'm testing (attached, and submitted to gcc-patches at http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01258.html) is the right solution to the problem, and my PC is running through all the regression tests now, so what would help most is if you could just look over my analysis and tell me if you think I've got the right understanding of your code and the loophole that caused the bug. cheers, DaveK -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38952