This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/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: 15 Jun 2004 23:42:06 -0000
- Subject: [Bug rtl-optimization/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-15 23:42 -------
I've now determined that changing the optimization options to "-O2 -fno-strength-reduce" makes the
problem go away and that changing the optimization options to "-O1 -fstrength-reduce" makes the
problem manifest itself.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15927