[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 6 20:14:00 GMT 2004


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



More information about the Gcc-bugs mailing list