Technical information
Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
Customer Notification r20tu0003ed1812 72
No. a60
A double constant might be converted to long long.
Version Information
V3.5.1, V3.5.1b3, V3.5.1b4
Details
The floating point const of the following example is converted to a long long at compile time. The
results of the operation are in consequence not valid.
Example:
------------
const double LSB=10.0E-12;
long long f2(void)
{
return 100.0/LSB
mov -1, r12
mov 0, r13
}
mov r12, r10
mov r13, r11
jmp [lp]
Command Line
ccv850e –cpu=v850e
Workaround
Use latest patch available under http:/www.renesas.eu/updates?id=443










