ID: Q115142
1.00 WINDOWS kbtool kbfixlist kbbuglist
The information in this article applies to:
- Microsoft Visual C++ for Windows, version 1.0
Compiling 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)
One of the following methods may be used to resolve the internal compiler error:
-or-
-or-
-or-
Microsoft 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.
The following sample code can be used to demonstrate this problem:
/* 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
KBCategory: kbtool kbfixlist kbbuglist
KBSubcategory: CLIss
Keywords : kb16bitonly kbCompiler kbbuglist kbfixlist
Version : 1.00
Platform : WINDOWS
Solution Type : kbfix
Last Reviewed: September 22, 1997