This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patches] Re: GCC build failed for powerpc-eabisim with your patch on 2001-06-04T15:31:45Z.
- To: jh at suse dot cz
- Subject: Re: [patches] Re: GCC build failed for powerpc-eabisim with your patch on 2001-06-04T15:31:45Z.
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Mon, 4 Jun 2001 14:31:32 -0700
- CC: jh at suse dot cz, gcc-regression at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org, rth at cygnus dot com, kenner at vlsi1 dot ultra dot nyu dot edu
- References: <200106041713.f54HDtD12191@maat.cygnus.com> <20010604194640.J25024@atrey.karlin.mff.cuni.cz> <20010604194904.K25024@atrey.karlin.mff.cuni.cz>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> So simple adding of offsets don't work. The checking code in
> simplify_subreg refuses to construct the bogus subreg, that is why
> the compiler aborts.
Yes. The result would be wrong anyway, consider taking
(subreg:HI (subreg:QI (reg:DI) 3) 0)
it should be
(subreg:HI (reg:DI) 2)
not
(subreg:HI (reg:DI) 3)
--
- Geoffrey Keating <geoffk@geoffk.org>