C9011000: C1001: regMD.c, Line 725

ID Number: Q67032

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

buglist6.00 buglist6.00a buglist6.00ax fixlist7.00

Summary:

SYMPTOMS

The Microsoft C Compiler versions 6.0, 6.0a, and 6.0ax produce the

following internal compiler errors when the sample program below is

compiled with /Oe:

With C 6.0a and 6.0ax

---------------------

file.c(20) : fatal error C1001: Internal Compiler Error

(compiler file '@(#)regMD.c:1.110', line 725)

Contact Microsoft Product Support Services

With C 6.0

----------

file.c(20) : fatal error C1001: Internal Compiler Error

(compiler file '@(#)exphelp.c:1.115', line 370)

Contact Microsoft Product Support Services

RESOLUTION

This error may be eliminated by disabling the /Oe optimization.

STATUS

Microsoft has confirmed this to be a problem in C versions 6.0,

6.0a, and 6.0ax. This problem was corrected in C/C++ version 7.0.

More Information:

Sample Code

-----------

/* Compile options needed: /Oe

*/

void f1(int boo, int hoo)

{

int x;

int y;

int A1[4];

int A2[4];

int i;

for (i=0; i<4; i++) A1[i] = A2[i] = i;

if (boo)

{

y = A1[hoo];

x = A2[boo];

A1[x] = y;

A1[hoo] = boo;

A2[boo] = hoo;

}

}

Additional reference words: 6.00 6.00a 6.00ax