[Bug optimization/11601] if-conversion2 gets rid of branch and return when used with builtins

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sun Aug 3 16:43:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11601



------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-03 16:43 -------
The reason why it is target spefic is because PPC has condition branch return.
The RTL that is removed is
(jump_insn 11 10 20 0 (set (pc)
        (if_then_else (eq (reg:CC 120)
                (const_int 0 [0x0]))
            (label_ref 18)
            (pc))) 494 {*rs6000.md:13671} (insn_list 10 (nil))
    (expr_list:REG_DEAD (reg:CC 120)
        (expr_list:REG_BR_PROB (const_int 5000 [0x1388])
            (nil))))



More information about the Gcc-bugs mailing list