[Bug tree-optimization/21000] store should not be done if we don't change its value

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 13 18:36:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-13 18:36 -------
Three more cases:
void f1(int *i)
{
  *i = *i;
}
int j;
void f2()
{
  j = j;
}
int *k;
void f3()
{
  *k = *k;
}

-- 


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



More information about the Gcc-bugs mailing list