[Bug tree-optimization/23588] CCP not fully propagating constants

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 26 18:22:00 GMT 2006



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-03-26 18:22 -------
Steven's patch fixes the testcase I gave but it did not fix:
int g1(void) __attribute__((__pure__));
int f(void)
{
  int g = 0;
  int a = g1();
  int t = a*g*a*a*a*a*a*a*a*a*a*a*a*a*a;  
  return t;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23588



More information about the Gcc-bugs mailing list