This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k bootstrapping broken
On Sun, Jan 11, 2004 at 09:27:17PM +0100, Andreas Schwab wrote:
> Andreas Schwab <schwab@suse.de> writes:
>
> > Richard Zidlicky <rz@linux-m68k.org> writes:
> >
> >> here is what the brute force search yields:
> >>
> >> - ICE on lshrdi occurs when insn-recog.o is crosscompiled with -O2
> >
> > I've found the bug: for all CONST_METHODs except MOVQ and MOVL we
> > don't generate a useful CC, but we don't record this fact. Could you
> > please test this patch?
>
> I checked again, SWAP will also produce a correct cc, here is an
> updated patch.
I just built a native compiler for m68k-amigaos with a cross-compiler
that had the updated patch applied. No objects in gcc/ except m68k.o
differed. Is that a good or bad sign?
Flags used to build the native compiler:
CFLAGS=-O2
XCFLAGS=-m68060 -fomit-frame-pointer -fno-reorder-blocks
Gunther