This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use reversed_comparison_code in sched-deps.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]