This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26763] [4.1 Regression] wrong final value of induction variable calculated
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2006 13:33:05 -0000
- Subject: [Bug tree-optimization/26763] [4.1 Regression] wrong final value of induction variable calculated
- References: <bug-26763-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2006-03-28 13:33 -------
We had this some time ago, but the discussion stopped at the point where people
said that pointers do not wrap. I believe that a + -1 is done using unsigned
arithmetic, so this may be the bug. I also know where the transformation is
done
as I invented it ;)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763