FIX: Optimization Bug Using Shift Operators and outp() (119871)
The information in this article applies to:
This article was previously published under Q119871 SYMPTOMS
Optimizing the shift operators may generate incorrect code when used in
conjunction with outp(). In the sample code in the "MORE INFORMATION"
section, below, no code is generated for the line "addr >>= 8;".
RESOLUTION
Disable optimization, or perform the shift operation directly in the
argument list of the function outp().
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed above. This problem was corrected in Visual C++, 32-bit Edition,
version 2.0.
Modification Type: | Minor | Last Reviewed: | 7/5/2005 |
---|
Keywords: | kbbug kbfix KB119871 |
---|
|