Article ID: 830964
Article Last Modified on 2/16/2007
APPLIES TO
- Microsoft Windows CE .NET 4.2
SYMPTOMS
When you use the following compiler options for the SuperH4 (SH4) processor, statements that cause 32-bit multiplication may produce incorrect results:
- /Og: Enable global optimizations.
- /Ot: Favor optimizations for speed over optimizations for size. This setting is a default setting.
You may also receive incorrect results when you use the following options that both include the /Og and /Ot optimizations:
- /O2: Optimize code for maximum speed.
- /Ox: Select full optimization; also known as maximum optimization.
RESOLUTION
Hotfix Information
A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 830964. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products
Prerequisites
This fix is supported only when all previously issued fixes for this product have also been installed.
Restart Requirement
You do not have to restart your computer after you apply this fix. After you apply this update, you must perform a clean operation and then rebuild the platform.
Hotfix Replacement Information
This fix does not replace any other fixes.
File Information
The English version of this package has the file attributes (or later) that are listed in the following table.
Date Time Version Size File name ------------------------------------------------------------------------------- 25-Nov-2003 01:35 4.2.3.1124 977,464 Wincepb42-031124-kb830964-common.exe
The English version of this hotfix has the file attributes (or later) 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 tool in Control Panel.
Date Time Version Size File name -------------------------------------------------------------- 13-Nov-2003 22:53 12.20.9773.0 901,120 C2_sh.dll
Note Because of file dependencies, the most recent fix that contains the previous files may also contain additional files.
WORKAROUND
To work around this problem, disable either the global optimization (/Og) or the speed optimization (/Ot).
For for information about how to specify compiler options, see the product documentation.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.
MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
REFERENCES
For more information about optimization options, see the following MSDN Web site:
eMbedded Visual C++ Guide: /O options (Optimize Code)
http://msdn2.microsoft.com/en-us/library/aa259590(SQL.80).aspx
Keywords: kbbug kbfix kbqfe KB830964