This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26826] ICE in reg_or_subregno, at jump.c:2011
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2006 14:47:13 -0000
- Subject: [Bug target/26826] ICE in reg_or_subregno, at jump.c:2011
- References: <bug-26826-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from bonzini at gnu dot org 2006-03-23 14:47 -------
Looks like we have a (subreg (mem)) which this guard misses:
/* If a memory location is needed for the copy, make one. */
if (in != 0 && (REG_P (in) || GET_CODE (in) == SUBREG)
&& reg_or_subregno (in) < FIRST_PSEUDO_REGISTER
&& SECONDARY_MEMORY_NEEDED (REGNO_REG_CLASS (reg_or_subregno (in)),
class, inmode))
get_secondary_mem (in, inmode, opnum, type);
And there is a similar occurrence for output reloads some 30 lines below.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26826