[Bug tree-optimization/15353] [tree-ssa] Merge two "if"s if one subsumes the other.

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 11 19:06:00 GMT 2005


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-06-11 19:05 -------
And it should merge them, too, like for

 int g(void);
 int h(void);
 int f(int i, int j)
 {
   while (1)
   {
     if (i > j)
       break;
     if (i == j)
       break;
     return g();
   }
   return h();
 }


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at tat dot physik
                   |                            |dot uni-tuebingen dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15353



More information about the Gcc-bugs mailing list