[Bug tree-optimization/37700] [alias-improvements-branch] redundant load doesn't get eliminated
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 1 15:34:00 GMT 2008
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-10-01 15:33 -------
Smaller testcase, FRE should remove the redundancy but doesn't.
unsigned int out[16];
unsigned int in[16];
unsigned int ia[16];
int
foo (void)
{
unsigned int i;
for (i = 0; i < 16; ++i)
{
out[i] = in[i];
ia[i] = in[i];
}
}
this is because we include VOPs in the value-numbering but fail to
value-number them properly to account for non-aliased stores.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-10-01 15:33:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37700
More information about the Gcc-bugs
mailing list