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 target/43104] Incorrect code generation for target mcu ATMega164P



------- Comment #5 from eric dot weddington at atmel dot com  2010-03-08 23:26 -------
(In reply to comment #4)
> > I still cannot reproduce the error
> you got
> >>lds     r24, 0x0000
> that is error!

Take a look at the generated assembly. 3 accesses to the same variable. The
disassembly shows 3 accesses to the same address. Please note that this
disassembly is from the object code, not a final executable (before linking)
because the test case you gave did not include a main() and therefore cannot be
linked.

Again, it is up to you, the bug reporter, to provide a compilable and linkable
test case that can be reproduced to show the error.


-- 


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


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