Technical information

Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
Customer Notification r20tu0003ed1812 111
No. a113
P23: BTO-2134 fix error in code motion optimization
Version Information
V6.1.4/2013.5.5
Details:
BTO-2134 fix error in code motion optimization
An optimization which moves code outside of a conditional, such as if-then-else, is
performed in cases where it is not entirely safe, resulting in incorrect behaviour in very
rare cases. Below is reduced from the example originally reported by the customer.
Example:
void test( int flag, unsigned char start) {
unsigned char u;
for ( u=start; u<15; u++ )
if ( flag )
Display(u,u+1);
else
Other(u,u+1);
}
Command Line
ccrh850 cpu=rh860 c -O
Workaround
For V6.1.4/2013.5.5, please use latest patch
v800-v2013.5.5-comp-P26 or later