[Bug middle-end/31098] New: a*C == b*C is not foldded to a == b with --fast-math/floating point
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 9 09:10:00 GMT 2007
The following two functions should be equalivant with --fast-math:
int f(float a, float b)
{
return a*10 == b*10;
}
int f1(float a, float b)
{
return a == b;
}
--
Summary: a*C == b*C is not foldded to a == b with --fast-
math/floating point
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 19987
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31098
More information about the Gcc-bugs
mailing list