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/15353] [tree-ssa] Merge two "if"s if one subsumes the other.


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


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