PATCH: Visual C++ Alpha Edition 4.2B C2.EXE 10.20.7032

ID: Q164953


The information in this article applies to:


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 file is available for download from the Microsoft Software Library:

~ Ac242bpa.exe

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

Q119591 How to Obtain Microsoft Support Files from Online Services


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          : kbCompiler VCAlpha 
Version           : WINNT:4.2b;
Platform          : NT WINDOWS 
Issue type        : 

Last Reviewed: July 26, 1999