This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/15927] THUMB -O2: strength-reduced iteration variable ends up off by 1
- From: "danfuzz at milk dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2004 00:45:08 -0000
- Subject: [Bug middle-end/15927] THUMB -O2: strength-reduced iteration variable ends up off by 1
- References: <20040611003443.15927.danfuzz@milk.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From danfuzz at milk dot com 2004-06-23 00:45 -------
I have no idea if this is useful information or not, but it looks like the problem is introduced during the
call to reload_as_needed() on line 1061 of reload1.c (of the 3.4.0 sources).
Sorry for being thick, but it is unclear to me whether gcc's state is already messed up by the time the
call gets made and the call does the "right" thing with bad data, or whether it is this call itself which
actually causes the problem in the first place.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15927