This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2004 20:14:08 -0000
- Subject: [Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores
- References: <20040817140542.17064.pbrook@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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