------- Comment #26 from charlet at gcc dot gnu dot org 2009-04-09 15:40 ------- << Is the (small amount of ?) code in "Gnat Pro" going to be available (someday) for "gcc Ada". That may fix these problems. >>
There's still confusion I'm afraid. GCC Ada is just an Ada compiler. GNAT Pro is a complete commercial Ada toolchain (where GCC is one of many components), so comparing both is like comparing apples and oranges. Anyway, that's not really relevant to this discussion since GNAT Pro is not based on GCC 4.5 as of today, and so does not suffer from this PR (yet) in any case. In other words, there are no "code" in GNAT Pro that would somehow address this recent bug in GCC 4.5. << We still have the issue that all Platforms accept the (usually non-default) ./configure option "--enable-sjlj-exceptions" which leads to this Bug on supported Platforms (and leads us down the path of breaking that Option). >> No, platforms that do not use ZCX with GNAT use GNAT's front-end setjmp/longjmp implementation, which is completely different from GCC's sjlj exception (--enable-sjlj-exceptions related to GCC sjlj, not GNAT's fe setjmp/longjmp), so once again, these platforms are not affected by this bug, only windows is. Anyway, if "someone" (e.g. Richard Guenther, who apparently introduced it) can fix this bug, that'd be great, I think this on the side discussion is only generating noise and confusion at this point. Richard, if you want to reproduce the bug, you'll need to modify the system-xxx.ads file you use on your config to set ZCX_By_Default to False, that should be sufficient. Arno -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39625