Fix crash while compiling pine on x86_64

Jakub Jelinek jakub@redhat.com
Tue Nov 12 06:41:00 GMT 2002


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



More information about the Gcc-patches mailing list