This is the mail archive of the gcc-bugs@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]

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


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


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