This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33132] m32r: ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in insn_current_length, at insn-attrtab.c:29
- From: "nickc at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2007 14:27:37 -0000
- Subject: [Bug target/33132] m32r: ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in insn_current_length, at insn-attrtab.c:29
- References: <bug-33132-14721@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from nickc at gcc dot gnu dot org 2007-08-31 14:27 -------
Subject: Bug 33132
Author: nickc
Date: Fri Aug 31 14:27:19 2007
New Revision: 127992
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127992
Log:
PR target/33132
* config/m32r/constraints.md: Add W constraint for integer zero.
* config/m32r/m32r.md (get_pc): Use W and i constraints.
Fix length calculation by using alternatives.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/m32r/constraints.md
trunk/gcc/config/m32r/m32r.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33132