[Bug c/46779] wrong code generation for array access
mschulze at ivs dot cs.ovgu.de
gcc-bugzilla@gcc.gnu.org
Fri Dec 3 13:58:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46779
--- Comment #2 from Michael Schulze <mschulze at ivs dot cs.ovgu.de> 2010-12-03 13:58:40 UTC ---
(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?
More information about the Gcc-bugs
mailing list