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/17064] -falias-noargument-global doesn't eliminate dead stores


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-06 20:14 -------
Even for the simple testcase, we don't eliminate dead stores:
int i;
int j;
int main()
{
  i = 0; <<--should be removed
  j = 0; <<--should be removed
  j = 1; <<--should be removed
  i = 42;
  j = 2;
}

-- 


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


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