Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!sdcsvax!sdcc6!sdcc3!ma183sef From: ma183sef@sdcc3.UUCP Newsgroups: comp.sys.amiga Subject: TDI Modula-2 3.00a Bug Message-ID: <3943@sdcc3.ucsd.EDU> Date: Fri, 8-May-87 02:06:10 EDT Article-I.D.: sdcc3.3943 Posted: Fri May 8 02:06:10 1987 Date-Received: Sat, 9-May-87 08:17:46 EDT Reply-To: ma183sef@sdcc3.ucsd.edu.UUCP (Carlos Vedovato) Organization: University of California, San Diego Lines: 35 Keywords: Bug,BUG,bug 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