This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: m68k bootstrapping broken
- From: Gunther Nikl <gni at gecko dot de>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Richard Zidlicky <rz at linux-m68k dot org>, Bernardo Innocenti <bernie at develer dot com>, Richard Henderson <rth at redhat dot com>, gcc at gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Jan 2004 15:23:41 +0100
- Subject: Re: m68k bootstrapping broken
- References: <3FFDD287.5090504@develer.com> <20040109003553.GA8001@linux-m68k.org> <3FFE1E6A.8030304@develer.com> <20040109214753.GA6321@linux-m68k.org> <400069E6.5080301@develer.com> <20040110173359.A3722@redhat.com> <4000EE16.9020907@develer.com> <20040111145603.GA5311@linux-m68k.org> <m3hdz26ycf.fsf@whitebox.m5r.de> <m3d69q6xju.fsf@whitebox.m5r.de>
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