[Bug target/107204] New: gcc/config/sh/divtab-sh4.cc: 2 * possible float conversion overflow
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Oct 10 20:01:34 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107204
Bug ID: 107204
Summary: gcc/config/sh/divtab-sh4.cc: 2 * possible float
conversion overflow
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
1.
trunk.git/gcc/config/sh/divtab-sh4.cc:75:34: warning: Undefined behaviour:
float (5.72662e+09) to integer conversion overflow. [floatConversionOverflow]
Source code is
printf ("\t.long\t0x%X\n", (unsigned) r);
2.
trunk.git/gcc/config/sh/divtab-sh4-300.cc:67:34: warning: Undefined behaviour:
float (8.58993e+09) to integer conversion overflow. [floatConversionOverflow]
Duplicate.
More information about the Gcc-bugs
mailing list