[Bug tree-optimization/80218] [6/7 Regression] tree-call-cdce does not update block frequencies

rsandifo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 27 12:47:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80218

--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
A simple test case is:

#include <math.h>

void
f (float *x)
{
  x[0] = sqrtf (x[0]);
}

which ought to spill x only when a call to sqrtf is needed.


More information about the Gcc-bugs mailing list