C1001: Internal Compiler Error: newcode.c, Line 697

ID Number: Q62308

6.00 | 6.00

MS-DOS | OS/2

buglist6.00 fixlist6.00a

Summary:

The Microsoft C Compiler version 6.0 produces the following internal

compiler error when the sample program below is compiled with default

optimization:

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

(compiler file '@(#)newcode.c:1.87', line 697)

Contact Microsoft Product Support Services

Microsoft has confirmed this to be a problem in C version 6.0. This

problem was corrected in C version 6.0a.

More Information:

The error is the result of an out-of-range branch instruction. If the

/qc (quick compile) option is specified in C version 6.0, the

following error message is correctly generated.

error C2427: 'Top' : jump referencing label is out of range

Sample Code

-----------

void func( void )

{

_asm

{

Top:

nop /* Enough NOPs to make Top more */

nop /* than 128 bytes from the Loop */

nop /* instruction. */

.

.

.

loop Top

}

}