This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: RTL_FLAG_CHECK patch
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: davem at redhat dot com (David S. Miller)
- Cc: janis187 at us dot ibm dot com, thorpej at wasabisystems dot com, gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 May 2002 15:45:39 -0400 (EDT)
- Subject: Re: RTL_FLAG_CHECK patch
> ../../gcc/gcc/libgcc2.c: In function `__udivmoddi4':
> ../../gcc/gcc/libgcc2.c:64: RTL flag check: INSN_ANNULLED_BRANCH_P used with une
> xpected rtx code `insn' in mark_set_resources, at resource.c:738
>
> Can you print out the RTX it is looking at when this triggers?
(sequence[
(insn:TI 78 77 826 (parallel[
(set (reg:SI 29 %r29)
(umod:SI (reg:SI 26 %r26)
(reg:SI 25 %r25)))
(clobber (reg:SI 1 %r1 [126]))
(clobber (reg:SI 20 %r20 [125]))
(clobber (reg:SI 26 %r26))
(clobber (reg:SI 25 %r25))
(clobber (reg:SI 31 %r31))
] ) 181 {*pa.md:4412} (insn_list:REG_DEP_ANTI 823 (insn_list:REG_DEP_OUTPUT 75 (insn_list 76 (insn_list 77 (nil)))))
(expr_list:REG_DEAD (reg:SI 26 %r26)
(expr_list:REG_DEAD (reg:SI 25 %r25)
(expr_list:REG_UNUSED (reg:SI 1 %r1 [126])
(expr_list:REG_UNUSED (reg:SI 20 %r20 [125])
(expr_list:REG_UNUSED (reg:SI 26 %r26)
(expr_list:REG_UNUSED (reg:SI 25 %r25)
(expr_list:REG_UNUSED (reg:SI 31 %r31)
(nil)))))))))
(insn 826 78 80 (set (reg/v:SI 70 %fr23 [119])
(mem:SI (plus:SI (reg/f:SI 30 %r30)
(const_int -16 [0xfffffff0])) [0 S4 A32])) 68 {*pa.md:2234} (insn_list 823 (nil))
(nil))
] )
This beast is a "millicode" call.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)