This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68hc11 cleanup/problems (was Re: Patches waiting for review)


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"
> > >
> > >
> > 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 :-)

2000-12-06  Stephane Carrez  <>

        * emit-rtl.c (gen_highpart): Abort only if the rtx is a SUBREG.



         Home                               Office
Mail:   17, rue Foucher Lepelletier        6, avenue Gustave Eiffel
        92130 Issy Les Moulineaux          78182 Saint Quentin en Yvelines

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]