2 /* { dg-options "-O2" } */
4 // We used to get alias grouping wrong on this one, hoisting accesses
5 // to the vector's end out of the loop.
12 double unused; // If I remove it => it works.
18 inline // If not inline => it works.
25 while (!r.v.empty() && r.v.back() == 0)
33 if (a.v.empty()) return a;
34 if (a.v.empty()) return a;
36 // A z = g(); return z; // If I return like this => it works.
45 assert(r.v.size() != 0);