C1001: Internal Compiler Error: exphelp.c, Line 698

ID Number: Q65545

6.00 | 6.00

MS-DOS | OS/2

buglist6.00 fixlist6.00a

Summary:

The Microsoft C Compiler version 6.00 produces the following internal

compiler error when the sample program below is compiled with default

optimizations in the huge memory model:

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

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

Contact Microsoft Product Support Services

When compiled in the large memory model, the same code produces the

following error message:

test.c(6) : fatal error C1001: Internal Compiler Error

(compiler file '@(#)emit.c:1.115', line 437)

Contact Microsoft Product Support Services

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

problem was corrected in C version 6.00a.

Sample Code

-----------

void main(void)

{

char *ptr1, *ptr2;

int baz;

ptr1 = (ptr2 - ((char *) 0) + baz) & ~ baz;

}