[Bug target/46779] wrong code generation for array access

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 3 14:06:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46779

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
            Version|4.4.0                       |4.4.5

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-03 14:05:42 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > at least I see r1 use in the asm but no clobber for it, instead it clobbers
> > the seemingly unused r31.
> Yes correct, r1 is not clobbered, however, I tested it with clobbering this one
> too. But this does not change the code generation, leading to the same
> erroneous code. In case of r31, I think you are wrong because it is used in
> "movw r30, %A3\n\t".
> 
> Are you agree this is a bug or not?

I don't know anything about AVR, so I can't say that (I just noticed the r1
issue).



More information about the Gcc-bugs mailing list