C9109001: C1001: newcode.c, Line 268

ID Number: Q76075

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

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

Summary:

PROBLEM ID: C9109001

SYMPTOMS

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

following internal compiler error when the sample program below is

compiled with any optimization other than /Od:

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

(compiler file '@(#)newcode.c:1.89', line 268)

Contact Microsoft Product Support Services

RESOLUTION

The following are valid workarounds:

- Compile with /Od (optimizations disabled).

-or-

- Use the optimize pragma to disable optimizations for the

function in which the error occurs.

-or-

- Compile with the /qc (quick compile) option.

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: none

*/

main ()

{

unsigned char _far * farptr;

unsigned short index;

for (index= 0; index< 4096; index++)

_asm les bx, farptr

}

Additional reference words: 6.00 6.00a 6.00ax