FIX: The /Ot optimization switch generates incorrect code for SHx structures that are passed by value (327588)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 3.0

This article was previously published under Q327588

SYMPTOMS

When you use Hitachi SHx processors, and if you specify the /Ot optimization switch, incorrect code is generated. This incorrect code is generated when a structure is passed to a function by value. This behavior may cause exceptions or may cause application values that are not valid.

Note This problem does not occur if the structure is passed to a function by address.

RESOLUTION

A supported software update is now available from Microsoft as Windows CE 3.0 Core OS QFE 327588. 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

After you install this hotfix, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu.

You do not have to restart your computer after you apply this fix.

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
   ------------------------------------------------------------------------
   16-Sep-2002  22:39  3.0.2.917       1,333,848  020917_wce30-q327588.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
   --------------------------------------------------------------------
   06-Sep-2002  00:52  12.17.0.8426    1,224,752  PB\Cepb\Bin\Cbe.exe          
   06-Sep-2002  00:52  12.17.0.8426    1,224,752  SDK\Bin\I386\Cbe.exe 
				

MORE INFORMATION

The /Ot optimization switch is implied by the following optimization switches:
  • /O
  • /O2
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

STATUS

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

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbQFE kbbug kbfix KB327588 kbAudDeveloper