This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in `find_reloads', at reload.c:4106
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: ICE in `find_reloads', at reload.c:4106
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 14 Jun 2000 14:48:57 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200006142051.QAA26704@hiauly1.hia.nrc.ca>you write:
> >From gdb, I find the following values at the abort:
>
> (gdb) print noperands
> $30 = 1
> (gdb) print insn_code_number
> $32 = 13
> (gdb) print operand_type[0]
> $33 = RELOAD_FOR_OUTPUT
> (gdb) print rld[0]
> $34 = {in = 0xbaa0a0, out = 0x0, class = ALL_REGS, inmode = SImode,
> outmode = VOIDmode, mode = SImode, nregs = 1, inc = 4, in_reg = 0xbaa0a0,
>
> out_reg = 0x0, regno = -1, reg_rtx = 0x0, opnum = 0,
> secondary_in_reload = -1, secondary_out_reload = -1,
> secondary_in_icode = CODE_FOR_nothing,
> secondary_out_icode = CODE_FOR_nothing, when_needed = RELOAD_FOR_INPUT,
> optional = 0, nocombine = 0, secondary_p = 0, nongroup = 0}
> (gdb) print *rld[0].in
> $36 = {code = PRE_DEC, mode = SImode, jump = 0, call = 0, unchanging = 0,
> volatil = 0, in_struct = 0, used = 1, integrated = 0, frame_related = 0,
> fld = {{rtwint = 1702016, rtint = 1702016, rtuint = 1702016,
> rtstr = 0x19f880 "9", rtx = 0x19f880, rtvec = 0x19f880,
> rttype = 1702016, rt_addr_diff_vec_flags = {min_align = 128,
> base_after_vec = 0, min_after_vec = 0, max_after_vec = 0,
> min_after_base = 1, max_after_base = 1, offset_unsigned = 1, = 3,
> scale = 25}, rt_cselib = 0x19f880, rtbit = 0x19f880,
> rttree = 0x19f880, bb = 0x19f880}}}
>
> Why does rld[0] contain data for an input reload when the only
> input for the instruction is cc0? Is this residual garbage?
>
> The problem could probably be fixed by deleting the sltu pattern but
> this isn't the real fix.
Put a conditional breakpoint in emit_reload_insns for insn # 173.
When it hits
p debug_reload()
That will print reload information in a symbolic format.
jeff