Microsoft KB Archive/164953

From BetaArchive Wiki
Knowledge Base


Article ID: 164953

Article Last Modified on 8/5/2004



APPLIES TO

  • Microsoft Visual C++ 4.2 Enterprise Edition, when used with:
    • the hardware: DEC Alpha
  • Microsoft Visual C++ 4.2 Professional Edition, when used with:
    • the hardware: DEC Alpha



This article was previously published under Q164953

SUMMARY

The /Oa (Assume No Aliasing) and /Ow (Assume Aliasing Across Function Calls) options do not work correctly in the compiler shipped with Visual C++ version 4.2b for Alpha. The same options can be selected via the #pragma optimize statement.

If your code is compiled with the /Oa or /Ow command-line options, or if the code you compile turns on the "a" or "w" options in a #pragma optimize statement, your code could experience aliasing problems. These problems most frequently manifest as corrupted data.

Version 10.20.7032 of c2.exe disables these options regardless of whether they are set on the command line or using pragmas in the code.

The following files are available for download from the Microsoft Download Center:

Ac242bpa.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services


Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.


MORE INFORMATION

REFERENCES

For further details on aliasing, please see the InfoViewer topic "Visual C++ Books | User's Guides | Visual C++ User's Guide | CL Reference | Reference to Command-Line Options | /Oa, /Ow"


Additional query words: Digital DEC CL

Keywords: kbdownload kbfile kbcompiler KB164953