Frank Heckenbach wrote:
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?
I did, see below.
Regards,
Adriaan van Os.
---------
[G4:~/gnu/testgpc/test-20030507] adriaan% make
TEST fjf558m.pas: O./test_run: line 202: 17822 Bus error ./"$A_OUT" "$1" TEST fjf558n.pas: O./test_run: line 202: 17842 Bus error ./"$A_OUT" "$1" TEST fjf558o.pas: O./test_run: line 202: 17863 Bus error ./"$A_OUT" "$1" TEST fjf558p.pas: O./test_run: line 202: 17883 Bus error ./"$A_OUT" "$1" TEST fproc.pas: 9c9,11 < ./test_run: line 191: 6450 Bus error ./"$A_OUT" "$1" ---
Stack frame: 8 formal print = -1 formal routine = -1 Stack frame: 9 formal print = -1 formal routine = -1 Stack frame: 10 formal print = -1 formal routine = -1
failed TEST goto5.pas: O./test_run: line 202: 6731 Bus error ./"$A_OUT" "$1" TEST nlgpp.pas: ./test_run: line 202: 11509 Bus error ./"$A_OUT" "$1" TEST nlgpp2.pas: 14c14,30 < ./test_run: line 191: 11529 Bus error ./"$A_OUT" "$1" ---
OK Recursive end 3 True Recursive before goto 4 True Recursive end 4 True Recursive before goto 5 True Recursive end 5 True Recursive before goto 6 True Recursive end 6 True Recursive before goto 7 True Recursive end 7 True Recursive before goto 8 True Recursive end 8 True Recursive before goto 9 True Recursive end 9 True Recursive before goto 10 True Recursive end 10 True Main end
failed TEST systemtest.pas: *** malloc: vm_allocate(size=2147483648) failed with 3 *** malloc[17286]: error: Can't allocate region *** malloc: vm_allocate(size=2147483648) failed with 3 *** malloc[17286]: error: Can't allocate region OK
# of GPC tests 3594 # of GPC tests passed 3570 # of GPC tests skipped 15 # of GPC tests failed 9