1// { dg-do compile }
2
3struct C
4{
5  double elems[3];
6};
7
8C
9foo ()
10{
11  C a;
12  double *f = a.elems;
13  int b;
14  for (; b;)
15    {
16      *f = 0;
17      ++f;
18    }
19  return a;
20}
21
22struct J
23{
24  C c;
25  __attribute__((always_inline)) J () : c (foo ()) {}
26};
27
28void
29bar ()
30{
31  J ();
32}
33