This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51600] [4.7 Regression] ice in estimate_local_effects
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 13:44:41 +0000
- Subject: [Bug tree-optimization/51600] [4.7 Regression] ice in estimate_local_effects
- Auto-submitted: auto-generated
- References: <bug-51600-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51600
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org
Component|c++ |tree-optimization
Target Milestone|--- |4.7.0
Summary|ice in |[4.7 Regression] ice in
|estimate_local_effects |estimate_local_effects
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-19 13:44:41 UTC ---
template<class T> inline T min(T a, T b) { return a < b ? a : b; }
double cornerbound(double *P, double (*m)(double, double))
{
double b=m(P[0],P[3]);
return m(b,P[12]);
}
void bound(double *P, double (*m)(double, double), double b)
{
m(b,cornerbound(P,m));
}
void bounds(double fuzz, unsigned maxdepth)
{
double Px[]={};
double bx=Px[0];
bound(Px,min,bx);
}