FIX: The Visual C++ 2008 native 32-bit (x86) code generator may generate incorrect code when you use the /O2 compiler option or the /Ox compiler option

FIX: The Visual C++ 2008 native 32-bit (x86) code generator may generate incorrect code when you use the /O2 compiler option or the /Ox compiler option

Article ID : 954345
Last Review : August 27, 2008
Revision : 1.0
On This Page

SYMPTOMS

The Microsoft Visual C++ 2008 native 32-bit (x86) code generator may generate incorrect code when you use one of the following Visual C++ compiler options:

• The /O2 compiler option (maximize speed)
• The /Ox compiler option (full optimization)

Note An optimization problem occurs only on the x86 platform when you use one of these Visual C++ compiler options.

Back to the top

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have Microsoft Visual Studio 2008 installed to apply this hotfix.

Note The installation of this hotfix has no effect if Visual Studio 2008 Service Pack 1 (SP1) is already installed. Visual Studio 2008 SP1 does not resolve this problem.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform Path
C2.dll 15.0.21022.142 2,282,992 15-Jul-2008 17:05 x86 Program Files Microsoft Visual Studio 9.0 VC bin x86_amd64
C2.dll 15.0.21022.142 2,360,304 15-Jul-2008 17:05 x86 Program Files Microsoft Visual Studio 9.0 VC bin
C2.dll 15.0.21022.142 2,492,400 15-Jul-2008 17:05 x86 Program Files Microsoft Visual Studio 9.0 VC bin x86_ia64
C2.dll 15.0.21022.142 3,017,200 15-Jul-2008 17:05 x64 Program Files Microsoft Visual Studio 9.0 VC bin amd64

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.

Back to the top

REFERENCES

For more information about the /O Visual C++ compiler options, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/en-us/library/k1ack8f1(VS.80).aspx (http://msdn.microsoft.com/en-us/library/k1ack8f1(VS.80).aspx)

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 (/Feedback.aspx?kbNumber=824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


APPLIES TO
• Microsoft Visual Studio Team System 2008 Team Suite
• Microsoft Visual Studio Team System 2008 Team Foundation Server
• Microsoft Visual Studio Team System 2008 Test Load Agent
• Microsoft Visual Studio Team System 2008 Database Edition
• Microsoft Visual Studio Team System 2008 Architecture Edition
• Microsoft Visual Studio Team System 2008 Development Edition
• Microsoft Visual Studio Team System 2008 Test Edition
• Microsoft Visual Studio 2008 Standard Edition
• Microsoft Visual Studio 2008 Professional Edition

Back to the top

Keywords: 
kbhotfixserver kbexpertiseadvanced kbqfe KB954345

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image