This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/14442] [tree-ssa] missed sib if conversion optimization on the tree level
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2004 22:11:14 -0000
- Subject: [Bug tree-optimization/14442] [tree-ssa] missed sib if conversion optimization on the tree level
- References: <20040305063050.14442.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-14 22:11 -------
The problem here is tree-ssa-phi-opt is not smart enough:
T.2_6 = t1 ();
if (T.2_6 == 0) goto <L2>; else goto <L3>;
<L2>:;
# iftmp.0_1 = PHI <0(2), 0(0), 1(1)>;
<L3>:;
T.3_3 = (_Bool)iftmp.0_1;
return (int)T.3_3;
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-03-06 04:00:06 |2004-05-14 22:11:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14442