This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sign-extending smaller modes
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: sign-extending smaller modes
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 08 Aug 2000 13:35:50 -0600
- cc: dj at delorie dot com, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200008081927.MAA05109@localhost.cygnus.com>you write:
> Jeffrey A Law <law@cygnus.com> writes:
>
> > Interestingly enough, if I install your change I can't bootstrap the
> > PA port, so there's something happening that we don't quite understand.
>
> I suspect this is a bug somewhere else. One of the structural
> problems with gcc is that it doesn't make a proper distinction between
> arithmetic on the host and arithmetic on the target for integer
> values. This causes lots and lots of problems whenever they differ.
It was a *native* build. The stage1 compiler mis-compiles the stage2
compiler which causes the stage2 compiler to bogusly trigger an
enable-checking failure in the C++ front-end.
jeff