This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11601] if-conversion2 gets rid of branch and return when used with builtins
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2003 18:57:35 -0000
- Subject: [Bug optimization/11601] if-conversion2 gets rid of branch and return when used with builtins
- References: <20030720120718.11601.pinskia@physics.uc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.