annotate gcc/testsuite/g++.dg/template/local2.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 template<typename T>
kono
parents:
diff changeset
2 struct X {
kono
parents:
diff changeset
3 double & f (const unsigned int i,
kono
parents:
diff changeset
4 const unsigned int j);
kono
parents:
diff changeset
5 void g (X &M);
kono
parents:
diff changeset
6 };
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 template <typename T>
kono
parents:
diff changeset
9 void X<T>::g (X &x) {
kono
parents:
diff changeset
10 double t14 = x.f(0,0)*x.f(1,1);
kono
parents:
diff changeset
11 double t15 = x.f(2,2)*x.f(3,3);
kono
parents:
diff changeset
12 double t17 = x.f(2,3)*x.f(3,2);
kono
parents:
diff changeset
13 double t19 = x.f(0,0)*x.f(2,1);
kono
parents:
diff changeset
14 double t20 = x.f(1,2)*x.f(3,3);
kono
parents:
diff changeset
15 double t22 = x.f(1,3)*x.f(3,2);
kono
parents:
diff changeset
16 double t24 = x.f(0,0)*x.f(3,1);
kono
parents:
diff changeset
17 double t25 = x.f(1,2)*x.f(2,3);
kono
parents:
diff changeset
18 double t27 = x.f(1,3)*x.f(2,2);
kono
parents:
diff changeset
19 double t29 = x.f(1,0)*x.f(0,1);
kono
parents:
diff changeset
20 double t32 = x.f(1,0)*x.f(2,1);
kono
parents:
diff changeset
21 double t33 = x.f(0,2)*x.f(3,3);
kono
parents:
diff changeset
22 double t35 = x.f(0,3)*x.f(3,2);
kono
parents:
diff changeset
23 double t37 = x.f(1,0)*x.f(3,1);
kono
parents:
diff changeset
24 double t38 = x.f(0,2)*x.f(2,3);
kono
parents:
diff changeset
25 double t40 = x.f(0,3)*x.f(2,2);
kono
parents:
diff changeset
26 double t42 = t14*t15-t14*t17-t19*t20+t19*t22+
kono
parents:
diff changeset
27 t24*t25-t24*t27-t29*t15+t29*t17+
kono
parents:
diff changeset
28 t32*t33-t32*t35-t37*t38+t37*t40;
kono
parents:
diff changeset
29 double t43 = x.f(2,0)*x.f(0,1);
kono
parents:
diff changeset
30 double t46 = x.f(2,0)*x.f(1,1);
kono
parents:
diff changeset
31 double t49 = x.f(2,0)*x.f(3,1);
kono
parents:
diff changeset
32 double t50 = x.f(0,2)*x.f(1,3);
kono
parents:
diff changeset
33 double t52 = x.f(0,3)*x.f(1,2);
kono
parents:
diff changeset
34 double t54 = x.f(3,0)*x.f(0,1);
kono
parents:
diff changeset
35 double t57 = x.f(3,0)*x.f(1,1);
kono
parents:
diff changeset
36 double t60 = x.f(3,0)*x.f(2,1);
kono
parents:
diff changeset
37 double t63 = t43*t20-t43*t22-t46*t33+t46*t35+
kono
parents:
diff changeset
38 t49*t50-t49*t52-t54*t25+t54*t27+
kono
parents:
diff changeset
39 t57*t38-t57*t40-t60*t50+t60*t52;
kono
parents:
diff changeset
40 double t65 = 1/(t42+t63);
kono
parents:
diff changeset
41 double t71 = x.f(0,2)*x.f(2,1);
kono
parents:
diff changeset
42 double t73 = x.f(0,3)*x.f(2,1);
kono
parents:
diff changeset
43 double t75 = x.f(0,2)*x.f(3,1);
kono
parents:
diff changeset
44 double t77 = x.f(0,3)*x.f(3,1);
kono
parents:
diff changeset
45 double t81 = x.f(0,1)*x.f(1,2);
kono
parents:
diff changeset
46 double t83 = x.f(0,1)*x.f(1,3);
kono
parents:
diff changeset
47 double t85 = x.f(0,2)*x.f(1,1);
kono
parents:
diff changeset
48 double t87 = x.f(0,3)*x.f(1,1);
kono
parents:
diff changeset
49 double t101 = x.f(1,0)*x.f(2,2);
kono
parents:
diff changeset
50 double t103 = x.f(1,0)*x.f(2,3);
kono
parents:
diff changeset
51 double t105 = x.f(2,0)*x.f(1,2);
kono
parents:
diff changeset
52 double t107 = x.f(2,0)*x.f(1,3);
kono
parents:
diff changeset
53 double t109 = x.f(3,0)*x.f(1,2);
kono
parents:
diff changeset
54 double t111 = x.f(3,0)*x.f(1,3);
kono
parents:
diff changeset
55 double t115 = x.f(0,0)*x.f(2,2);
kono
parents:
diff changeset
56 double t117 = x.f(0,0)*x.f(2,3);
kono
parents:
diff changeset
57 double t119 = x.f(2,0)*x.f(0,2);
kono
parents:
diff changeset
58 double t121 = x.f(2,0)*x.f(0,3);
kono
parents:
diff changeset
59 }
kono
parents:
diff changeset
60
kono
parents:
diff changeset
61 template void X<double>::g (X<double>&);