BUG: Internal Compiler Error, C1001, MSC2.CPP, line 1011ID: Q114532
|
When using the /Ol switch (enable loop optimizations) and compiling a module that contains several large loops, or that contains several layers of nested loops, version 8.0c of the Microsoft C/C++ compiler may generate the following error message:
file.c(xxx) : fatal error C1001: internal compiler error (compiler file 'msc2.cpp', line 1011)
There are two workarounds for this error message:
#pragma optimize( "l", off ) // Disable loop optimizations
// Function that contains the code causing the problem.
// This can be determined by the line number given in the
// C1001 error message.
#pragma optimize( "l", on ) // Enable loop optimizations
Microsoft has confirmed this to be a problem with the C/C++ compiler version 8.0c. We are researching the problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: 1.50 8.00c
Keywords : kb16bitonly
Version :
Platform :
Issue type :
Last Reviewed: July 21, 1999