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

Reply via email to