The failures in nonloc2goto.pas and nonloc4goto.pas go away when increasing the stacksize limit. We might reduce the recursion depth somewhat in these tests, in order to run them in the default Mac OS X stacksize limit of 512 KB.
The alternative is to specify the stacksize when linking, e.g.
[G4:~/gnu/testgpc] adriaan% gpc -o nonloc2goto nonloc2goto.pas [G4:~/gnu/testgpc] adriaan% ./nonloc2goto Segmentation fault [G4:~/gnu/testgpc] adriaan% gpc -o nonloc2goto nonloc2goto.pas -Wl,-stack_size,0x100000,-stack_addr,0xc0000000 [G4:~/gnu/testgpc] adriaan% ./nonloc2goto OK
Regards,
Adriaan van Os