This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Code generation problem with gcc-2.95.1 as m68k-elf cross-compiler
- To: Greg Ungerer <gerg at moreton dot com dot au>
- Subject: Re: Code generation problem with gcc-2.95.1 as m68k-elf cross-compiler
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 19 Oct 1999 02:41:32 -0600
- cc: bug-gcc at gnu dot org
- Reply-To: law at cygnus dot com
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