Adriaan van Os wrote:
The results below are for gpc-20030507 built with a patched gcc-3.2.1. The testsuite was run with run with EXTRA_PFLAGS=--longjmp-all-nonlocal-labels.
[G4:~] adriaan% make EXTRA_PFLAGS=--longjmp-all-nonlocal-labels
TEST systemtest.pas: *** malloc: vm_allocate(size=2147483648) failed with 3 *** malloc[20946]: error: Can't allocate region *** malloc: vm_allocate(size=2147483648) failed with 3 *** malloc[20946]: error: Can't allocate region OK
# of GPC tests 3594 # of GPC tests passed 3578 # of GPC tests skipped 15 # of GPC tests failed 1
This only leaves the Mac OS X malloc bug, I will do some more malloc tests and report the results to Apple.
The test results show that the non-local goto gcc bug has been successfully worked around by the new option --longjmp-all-nonlocal-labels.
Great! Thanks for the report.
BTW, did you check that the bug occurs without `--longjmp-all-nonlocal-labels', i.e. that the options really makes the change?
Frank