Frank Heckenbach wrote:
Adriaan van Os wrote:
Apparently there are bugs with nonlocal gotos (this also happens on Linux/S390) and trampolines (I've seen this reported on Solaris, but I think only with earlier GCC versions).
The Ada for Mac OS X project has a trampoline patch to libgcc.a. It fixes 12 out of 66 testsuite failures. I will post the source code of the patch, as soon as I have it.
OK, that's one bunch. I hope it gets integrated into GCC soon.
Leaves the nonlocal goto bug ...
Andrew Reynolds from the ADA for Mac OS X team has been so kind to send me this morning patches for both the trampoline and non-local goto bugs. He has included interesting ADA runtime stuff. This will take me some time to study. I will report the results.
I applied the patches to the gcc-3.2.1 backend. They fix the trampoline failures plus some of the nonlocal goto crashes (goto4.pas, math.pas and nonlocgoto.pas). Some of the goto crashes remain (fjf558m.pas, fjf558n.pas, fjf582.pas, fproc.pas, goto5.pas, nlgpp.pas, nlgpp2.pas).
Regards,
Adriaan van Os