Code generation problem with gcc-2.95.1 as m68k-elf cross-compiler
Jeffrey A Law
law@cygnus.com
Sun Oct 31 23:03:00 GMT 1999
In message < 38054AAA.C1EE0DC0@moreton.com.au >you write:
> The problem is that "moveq.l #121,%d1" line. I would have expected
> this to be using %d0 not %d1. Compiling this same code with egcs-1.1.2
> (and egcs-1.1.1) produces "moveq.l #121,%d0" as I would have expected.
Please read very carefully the documentation which describes how to
specify registers for local variables. Your code is wrong.
jeff
More information about the Gcc-bugs
mailing list