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 tree-optimization/14442] [tree-ssa] missed sib if conversion optimization on the tree level


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


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