FIX: Internal Compiler Error C1001: REG86.C, Line 3154Last reviewed: September 18, 1997Article ID: Q115142 |
|
1.00
WINDOWS
kbtool kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSCompiling the source code shown at the end of this article generates the following internal compiler error:
fatal error C1001: internal compiler error
(compiler file '@(#)reg86.c:1.26', line 3154)
RESOLUTIONOne of the following methods may be used to resolve the internal compiler error:
STATUSMicrosoft has confirmed this to be a problem with the Microsoft products listed above. The problem was corrected in Visual C++ for Windows, version 1.5.
MORE INFORMATIONThe following sample code can be used to demonstrate this problem:
Sample Code
/* Compile options needed: /Ot /c (/DFIX to use workaround)
*/
extern char m[];
//#pragma optimize("",off)
int func(char *vector, long value)
{
long idx = value;
#ifdef FIX
char temp1, temp2;
temp1 = idx >> 3;
temp2 = m[idx&7];
vector[temp1] |= temp2;
#else
vector[idx >> 3] |= m[idx&7];
#endif
}
//#pragma optimize("",on)
|
Additional reference words: 1.00 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |