This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: m68hc11 cleanup/problems (was Re: Patches waiting for review)
- To: Zack Weinberg <zackw at Stanford dot EDU>
- Subject: Re: m68hc11 cleanup/problems (was Re: Patches waiting for review)
- From: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Date: Tue, 27 Mar 2001 18:37:55 +0200
- CC: gcc-patches at gcc dot gnu dot org
- References: <20010325233032.B247@stanford.edu> <3ABF6E29.8B54CA2D@worldnet.fr> <20010326193148.A20794@stanford.edu>
Hi!
Zack Weinberg a écrit :
>
> On Mon, Mar 26, 2001 at 06:28:25PM +0200, Stephane Carrez wrote:
> > Hi!
> >
> > Zack Weinberg a ?crit :
> > >
> > > "xm-files: m68hc11"
> > > http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01214.html
> > >
> > This one is ok for me.
>
> I thought it'd be a good idea to try to build a m68hc11 cross-compiler
> before applying this, at the very least. This exposed a few more
> places where there was code conditioned on GCC_VERSION. I cleaned
> that up - revised patch below. This gets me as far as libgcc, at
> which point it blows up:
>
> ./xgcc -B./ -B/usr/local/m68hc11-none/bin/ -isystem
> /usr/local/m68hc11-none/include -Os -DUSE_GAS -DIN_GCC -DIN_LIBGCC2
> -I. -I. -I../../../gcc_m68hc11/gcc
> -I../../../gcc_m68hc11/gcc/. -I../../../gcc_m68hc11/gcc/config
> -I../../../gcc_m68hc11/gcc/../include -DL_negdi2 -c
> ../../../gcc_m68hc11/gcc/libgcc2.c -o libgcc/./_negdi2.o
> ../../../gcc_m68hc11/gcc/libgcc2.c: In function `__negdi2':
> ../../../gcc_m68hc11/gcc/libgcc2.c:64: Internal compiler error in
> gen_highpart, at emit-rtl.c:1108
>
> This looks unrelated, and I don't know how to fix it. Do you still
> want the patch applied?
>
Yes. This problem is solved by the following fix for which I'm waiting
some approval :-)
http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00324.html
2000-12-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* emit-rtl.c (gen_highpart): Abort only if the rtx is a SUBREG.
Thanks,
Stephane
-----------------------------------------------------------------------
Home Office
E-mail: stcarrez@worldnet.fr Stephane.Carrez@sun.com
WWW: http://home.worldnet.fr/stcarrez http://www.sun.com
Mail: 17, rue Foucher Lepelletier 6, avenue Gustave Eiffel
92130 Issy Les Moulineaux 78182 Saint Quentin en Yvelines
France