README file for the Microtec PowerPC C/C++ compiler patch 3.7.3 for dSPACE RPC&HIL Release 7.0 to 7.1 December 8, 2011 Copyright (c) 2011 dSPACE GmbH, Germany ======================================================================= ------------------------------------------------------------------------------------------- This file contains information concerning 1. Introduction / Products revised by this Installation 2. How to install 3. Software changes 4. Restrictions ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- 1. Introduction / Products revised by this Installation ------------------------------------------------------------------------------------------- This version has been created to work with: Microtec PowerPC C/C++ compiler 3.7 for Release 7.0 Microtec PowerPC C/C++ compiler 3.7 for Release 7.1 ------------------------------------------------------------------------------------------- 2. How to install ------------------------------------------------------------------------------------------- The Microtec PowerPC C/C++ compiler patch 3.7.3 updates the compiler release 3.7 as provided on your dSPACE RCP&HIL installation media. It is also compatible with dSPACE setups in which the previously issued compiler patch DS_MCCPPC_3_7_2p1_187415.exe has been installed. To install the Microtec PowerPC C/C++ compiler patch 3.7.3, please execute the file DS_MCCPPC_3_7_3p2_209880.exe. The following binaries will be installed in your Microtec PowerPC C/C++ compiler directory: %PPC_ROOT%\bin\cbeppc.exe %PPC_ROOT%\bin\cxxfe.exe %PPC_ROOT%\bin\mccppc.exe The previous versions will be overwritten. NOTE: You need to close any dSPACE software and MATLAB before invoking the installation. ------------------------------------------------------------------------------------------- 3. Software changes ------------------------------------------------------------------------------------------- The Microtec PowerPC C/C++ compiler patch 3.7.3 fixes the following issues of the Microtec PowerPC C/C++ compiler 3.7: * The compiler's C++ frontend terminates when processing a C++ source file containing the declarations of a base class and a class derived from the base class if: - the base class destructor is not declared 'virtual' and - informational messages are not suppressed (parameter -Qi is not set) Upon termination, the C++ frontend shows the error message: '(F); ".cpp", line pos ; diag_message: missing type substitution' * When using the 'optimize for time' setting (-Ot), an error in the compiler's loop optimization may lead to an erratic behaviour of individual model variables at run-time, which can be observed in ControlDesk. This error occurs only when a loop, whose complexity forces the compiler to spill variables processed within the loop from registers to the stack, is optimized using -Ot. The 'optimize for size' setting (-Os) is not affected by this problem. * It corrects a problem introduced by Microtec PowerPC compiler 3.7.2 where an attempt was made to use a value before it was initialized (i.e., code was sequenced incorrectly). The problem occurs, if optimization -Og or -Otrix (or something in between) is used. ------------------------------------------------------------------------------------------- 4. Restrictions ------------------------------------------------------------------------------------------- This patch is compatible with dSPACE Release 7.0. to 7.1 This patch does not support older versions of the dSPACE software. ======================================================================= End of File