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 rtl-optimization/15927] THUMB -O2: strength-reduced iteration variable ends up off by 1


------- 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


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