This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]