newman@dasys1.UUCP (Ken Newman) (05/18/88)
The following is a very simple program that exhibits a very nasty bug in
Megamax C v1.1. Compiling this program CRASHES THE COMPILER AND CORRUPTS
THE OBJECT FILE!! (two bombs appear).
main ()
{
struct x y;
int i;
for (i = 0; i < 1000; i++) ;
}
The problem seems to be referencing the undefined structure tag. I don't
know if this bug still exists in Laser C, anyone care to check? Any comments
from Megamax?
Ken Newman
--
Ken Newman
Big Electric Cat Public UNIX
..!cmcl2!phri!dasys1!newman
michel@megamax.UUCP (Michel Rynderman) (05/19/88)
>> main () >> { >> struct x y; <- causes crash in v1.1 of megamax C >> int i; >> >> for (i = 0; i < 1000; i++) ; >> } >> Ken Newman This has been fixed in Laser C. Michel@megamax -- Anyone who would like a reply to their mail sent to me needs to give a uucp path. The mailer on our system is weird. Either that or give me a tel. number and I'll give you a call. UUCP: pollux!megamax!michel PHONE: 214-987-4931