This is the mail archive of the gcc-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: Fix crash while compiling pine on x86_64


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


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