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/42438] [4.4/4.5 Regression] Fix for PR38819 is too conservative



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-01-02 21:54 -------
int foo (int i, int j, int b)
{
  int res = 0;
  if (b)
    res = i/j;
  res += i/j;
  return res;
}

is a testcase that regressed.  I am testing a patch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
            Summary|Fix for PR38819 is too      |[4.4/4.5 Regression] Fix for
                   |conservative                |PR38819 is too conservative
   Target Milestone|---                         |4.4.3


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


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