This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix crash while compiling pine on x86_64
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Tue, 12 Nov 2002 09:41:34 -0500
- Subject: Re: Fix crash while compiling pine on x86_64
- References: <20021112135332.GI5205@kam.mff.cuni.cz>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Nov 12, 2002 at 02:53:32PM +0100, Jan Hubicka wrote:
> Hi,
> reload crashes on attempting to reload instruction of for
> (set (strict_low_part (reg a)) (reg b) (reg c))
> that can be reloaded by first setting strict low part of a by b and then
> doing the operation, but reload can't and probably should not do that.
> The attached patch ensures that all the operations have mathcing operand
> 0 and 1 so reloading is not needed.
>
> Tue Nov 12 14:52:01 CET 2002 Jan Hubicka <jh@suse.cz>
> * athlon.md, k6.md, pentium.md, ppro.md: Handle shift1, rotate1
> * i386.md (attribute type): Add type shift1 and rotate1.
> (*_slp): Rewrite to have just two operands to avoid reload problems.
Can you write a testcase?
Jakub