annotate gcc/testsuite/g++.dg/torture/pr66280.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 // { dg-do compile }
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 typedef struct
kono
parents:
diff changeset
4 {
kono
parents:
diff changeset
5 short re;
kono
parents:
diff changeset
6 short im;
kono
parents:
diff changeset
7 } cint16_T;
kono
parents:
diff changeset
8 typedef struct
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 int re;
kono
parents:
diff changeset
11 int im;
kono
parents:
diff changeset
12 } cint32_T;
kono
parents:
diff changeset
13 int a;
kono
parents:
diff changeset
14 short b;
kono
parents:
diff changeset
15 cint16_T *c;
kono
parents:
diff changeset
16 cint32_T *d, *e;
kono
parents:
diff changeset
17 void
kono
parents:
diff changeset
18 fn1 ()
kono
parents:
diff changeset
19 {
kono
parents:
diff changeset
20 for (; a; a++)
kono
parents:
diff changeset
21 {
kono
parents:
diff changeset
22 d[a].re = d[a].im = e[a].re = c[a].re * b;
kono
parents:
diff changeset
23 e[a].im = c[a].im * b;
kono
parents:
diff changeset
24 }
kono
parents:
diff changeset
25 }