annotate gcc/testsuite/gcc.c-torture/compile/991213-1.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 typedef __complex__ double double_complex;
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 void
kono
parents:
diff changeset
6 p (const double_complex *t, int n)
kono
parents:
diff changeset
7 {
kono
parents:
diff changeset
8 int i;
kono
parents:
diff changeset
9 double s = ({ typeof ( t[n/2] ) arg = ( t[n/2] ); (__imag__ arg); }) ;
kono
parents:
diff changeset
10 for (i = 1; i < n/2; i++)
kono
parents:
diff changeset
11 s += 2* ({ typeof ( t[i] ) arg = ( t[i] ); (__imag__ arg); }) ;
kono
parents:
diff changeset
12 }
kono
parents:
diff changeset
13