[PATCH for H8/300]:Fix ICE for H8SX

Kazu Hirata kazu@codesourcery.com
Wed Jul 5 19:40:00 GMT 2006


Hi Naveen,

> ICE happens because of the constraint (n) in the second operand of
> "xorqi3_1". If the constraints are modified for H8SX targets in 
> "xorqi3_1", there will be no ICE.
> This patch modifies the constraints for H8SX targets by defining a 
> new define_insn "*xorqi3_h8300sx" and the constraints for other H8300
> targets are retained in the define_insn "xorqi3_1".
>       
> Please refer the following link for the patch.
> http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01515.html

And what does the actual ICE look like?  What is the exact error message?  Is 
that an unrecognizable insn?  If so,  could you show that insn?

p.s.
Next time you submit a patch, it would be helpful if you could include complete 
description or analysis of the problem, a ChangeLog entry, and the patch proper 
that conforms guidelines at:

   http://gcc.gnu.org/contribute.html#patches

That would save many iterations.

Kazu Hirata



More information about the Gcc-patches mailing list