ma183sef@sdcc3.UUCP (05/08/87)
Here is a major bug I have localized from 58k of source:
MODULE ShowM2Bomb;
TYPE
jetdefdata = ARRAY[0..15] OF CARDINAL;
aircraftdata = ARRAY[0..2] OF jetdefdata;
sidedata = RECORD
jetdef : ARRAY[0..1] OF aircraftdata;
jt : INTEGER;
END;
VAR
i : CARDINAL;
side : ARRAY[0..1] OF sidedata;
BEGIN
FOR i := 0 TO 1 DO
side[i].jt := 0;
END;
END ShowM2Bomb.
Try it out. It should crash when writing out the link file, and
if the stack is set high (like 500k!), a "--compiler error 2"
might be generated.
NOTE: it will only crash when using the latest version of the
compiler- 3.00a, works ok with version 2.20a...
Let me know if you get the same results...
_
I'm going to call TDI manana...
John