https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24964
Bug 24964 depends on bug 15459, which changed state.
Bug 15459 Summary: [meta-bug] there should be a tree combiner like the rtl one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15459
What|Removed |Added
--- Comment #2 from sayle at gcc dot gnu dot org 2006-05-29 16:22 ---
Subject: Bug 24964
Author: sayle
Date: Mon May 29 16:22:05 2006
New Revision: 114206
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114206
Log:
PR tree-optimization/24964
* simplify-rtx.c (sim
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-29 21:23 ---
Fixed in 4.2.0 by a RTL patch.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-21 00:40 ---
This comes down to the tree-combiner.
Take the following C functions:
double fabs(double);
double f(double a)
{
return fabs(a)*fabs(a);
}
double f1(double *a)
{
return fabs(*a)*fabs(*a);
}
double f2(double *a)