This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42438] [4.4/4.5 Regression] Fix for PR38819 is too conservative
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2010 21:54:09 -0000
- Subject: [Bug tree-optimization/42438] [4.4/4.5 Regression] Fix for PR38819 is too conservative
- References: <bug-42438-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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