This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFC] SH: Many ICEs on complex numbers
- From: Richard Henderson <rth at redhat dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-patches at gcc dot gnu dot org, joern dot rennecke at st dot com, aoliva at redhat dot com
- Date: Sat, 11 Dec 2004 21:07:07 -0800
- Subject: Re: [PATCH/RFC] SH: Many ICEs on complex numbers
- References: <20041209.070338.112600676.kkojima@rr.iij4u.or.jp>
On Thu, Dec 09, 2004 at 07:03:38AM +0900, Kaz Kojima wrote:
> * expr.c (emit_move_via_alt_mode): Return NULL_RTX if the GEN_FCN
> for the alt_mode move returns null.
I think this is the wrong approach. The move patterns are not allowed
to fail.
On the other hand, we shouldn't have asked for this mode in the first
place if HARD_REGNO_MODE_OK is false. I'll work on a fix.
r~