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/37869] PTA results wrong for "non-pointer" variables



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-11-25 11:58 -------
Simpler testcase at -O

void
foo (unsigned long *start, unsigned long *end)
{
  unsigned long *temp = end - 1;

  while (end > start)
    *end-- = *temp--;
}

blocks alias-improvements branch (causes the store and load to be deleted).


-- 


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


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