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: 19 Jun 2004 00:36:34 -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-19 00:36 -------
Created an attachment (id=6573)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6573&action=view)
Another C File (m2.c)
Here's another file (m2.c) that exhibits the same, or at least a similar,
problem even with -fno-strength-reduce. The code was compiled with the
following commandline:
$ arm-elf-gcc -W -Wall -save-temps -c m2.c -mthumb -fno-builtin
-fsigned-char
-funsigned-bitfields -Os -fno-strength-reduce -fno-strict-aliasing
Annotated asm code coming shortly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15927