FIX: C1001: Internal Compiler Error: reg86.c, line 4600

Q115533

1.00 WINDOWS kbtool kbfixlist kbbuglist ---------------------------------------------------------------------- The information in this article applies to: - The Microsoft C/C++ Compiler (CL.EXE), included with: Microsoft Visual C++ for Windows, version 1.0 ---------------------------------------------------------------------- SYMPTOMS ======== Using the /Ol and /Oe compiler switches together may cause the optimizing compiler to generate the following error message: warning C4713: ErrJprvtGTCILevel04: internal compiler error; restarting (compiler file 'msc2.cpp', line 992) RESOLUTION ========== To avoid the problem, do one of the following: - Upgrade to Visual C++ for Windows, version 1.5. This problem has been fixed with the version 8.0c compiler supplied with Visual C++ for Windows, version 1.5. -or- - Do not use the /Ol and /Oe optimizations together. This can be accomplished at the module level by not specifying one of these switches and at the function level in the source code by using a #pragma optimize directive to turn off one of the optimizations. For example, to turn off loop optimizations, place the following statement before the function that contains the code causing the error: #pragma optimize ("l", off) To turn loop optimizations back on, place the following statement after the function: #pragma optimize ( "", on ) -or- - Use the fast compiler because the problem only occurs when the optimizing compiler is used. Use of the fast compiler can be forced by using the /f compiler switch. STATUS ====== Microsoft has confirmed this to be a problem in Visual C++ for Windows, version 1.0. This problem was corrected in Visual C++ for Windows, version 1.5. Additional reference words: 8.00 1.00 KBCategory: kbtool kbfixlist kbbuglist KBSubcategory: CLIss

Keywords : kb16bitonly kbCompiler
Issue type :
Technology :


Last Reviewed: September 24, 1997
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.