Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!MAILER%ALASKA.BITNET@CUNYVM.CUNY.EDU From: MAILER%ALASKA.BITNET@CUNYVM.CUNY.EDU Newsgroups: comp.lang.c Subject: Undelivered mail Message-ID: <12361@brl-adm.ARPA> Date: 13 Mar 88 15:23:22 GMT Sender: news@brl-adm.ARPA Lines: 53 Subject: MSC 4.0 Internal Compiler Error [Non-Deliverable: User does not exist or has never logged on] Reply-To: Info-C@BRL.ARPA Received: From UWAVM(MAILER) by ALASKA with Jnet id 1118 for SXJVK@ALASKA; Sun, 13 Mar 88 05:54 AST Received: by UWAVM (Mailer X1.25) id 7033; Sun, 13 Mar 88 06:53:33 PST Date: Thu, 10 Mar 88 16:15:20 GMT Reply-To: Info-C@BRL.ARPA Sender: Info-C List From: Markku Savela Subject: MSC 4.0 Internal Compiler Error Comments: To: info-c@BRL-SMOKE.arpa To: Vic Kapella I got the following message from my Microsoft C Compiler (4.0) while trying to compile one of my programs (using LARGE MODEL and MS-DOS): thisbug.C(8) : fatal error 1: Internal Compiler Error (compiler file 'regMD.c', line 272) Contact Microsoft Technical Support Here is a much reduced (and stupid) program fragment which still produces the same result: int x,y,i; struct MemCell {int Ntype; struct MemCell *Mem} MemLoc[1000]; void grokit() { while (i++ < 10) MemLoc[y].Mem[i] = MemLoc[x]; } It seems that the following things are required - LARGE MODEL (compiles using SMALL) - loop (while, for,...) - Mem is not the first field of the structure - and of course this double indexing... I do not expect any help on this. I surely can code around the problem. I'm just reporting a bug for anyone interested (whether this reaches Microsoft or not, I don't care). (Perphaps Microsoft should have a mailbox in the net for this kind of things -- this is much easier than going through the regular routes...). And, perhaps this doesn't occur in MSC 5.0 or 5.1 any more... -- -- Markku Savela, msa@clinet.fi -- (Note: I cannot send mail -- do not expect mail replys)