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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-05 18:57:35
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-05 18:57 -------
I copied the wrong rtl, the correct one is:
(jump_insn 11 10 20 0 (set (pc)
        (if_then_else (eq (reg:CC 75 cr7 [120])
                (const_int 0 [0x0]))
            (return)
            (pc))) 495 {*rs6000.md:13686} (insn_list 10 (nil))
    (expr_list:REG_DEAD (reg:CC 75 cr7 [120])
        (expr_list:REG_BR_PROB (const_int 5000 [0x1388])
            (nil))))

See the return some how if-conversion likes to remove this jump instruction.


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