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/19827] Missed pure/const optimization


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-20 14:22 -------
Confirmed.
Well h is still not the most optimal code, the following is:
int m(int i, int j)
{
  int k = 0;
  if(i || j)
    k = f();
  return k;
}

This is very closely related to PR 20083.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-20 14:22:28
               date|                            |


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


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