[PATCH] Use reversed_comparison_code in sched-deps.c

Graham Stott graham.stott@btinternet.com
Mon Aug 30 00:22:00 GMT 2004


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])

and cind us
(eq (reg:CCZ 17 flags)
     (const_int 0 [0x0]))


More information about the Gcc-patches mailing list