This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use reversed_comparison_code in sched-deps.c
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: Richard dot Earnshaw at buzzard dot freeserve dot co dot uk
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Aug 2004 00:46:50 +0100
- Subject: Re: [PATCH] Use reversed_comparison_code in sched-deps.c
- References: <200408292116.i7TLGYXc013457@merlin.buzzard.freeserve.co.uk>
Richard,
This patch breaks bootstraps with RTL checking enabled on i686-pc-linux-gnu
Your changes to get_condition trigget
crtstuff.c: In function `frame_dummy':
crtstuff.c:323: internal compiler error: RTL check: access of elt 2 of `eq' with last elt 1 in get_condition, at sched-deps.c:156
This is the offending code
cond = XEXP (SET_SRC (pc_set (insn)), 0);
if (XEXP (cond, 2) == pc_rtx)
return cond;
where insn is
(jump_insn:HI 14 46 16 0 (set (pc)
(if_then_else (eq (reg:CCZ 17 flags)
(const_int 0 [0x0]))
(label_ref 32)
(pc))) 345 {*jcc_1} (nil)
(expr_list:REG_BR_PROB (const_int 1900 [0x76c])
(nil)))
and cind us
(eq (reg:CCZ 17 flags)
(const_int 0 [0x0]))
Graham