annotate gcc/testsuite/g++.dg/torture/pr51600.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 template<class T> inline T min(T a, T b) { return a < b ? a : b; }
kono
parents:
diff changeset
2 double cornerbound(double *P, double (*m)(double, double))
kono
parents:
diff changeset
3 {
kono
parents:
diff changeset
4 double b=m(P[0],P[3]);
kono
parents:
diff changeset
5 return m(b,P[12]);
kono
parents:
diff changeset
6 }
kono
parents:
diff changeset
7 void bound(double *P, double (*m)(double, double), double b)
kono
parents:
diff changeset
8 {
kono
parents:
diff changeset
9 m(b,cornerbound(P,m));
kono
parents:
diff changeset
10 }
kono
parents:
diff changeset
11 void bounds(double fuzz, unsigned maxdepth)
kono
parents:
diff changeset
12 {
kono
parents:
diff changeset
13 double Px[]={};
kono
parents:
diff changeset
14 double bx=Px[0];
kono
parents:
diff changeset
15 bound(Px,min,bx);
kono
parents:
diff changeset
16 }