1 /* PR debug/83666 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -g -Wno-psabi" } */
4 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
5
6 typedef int __attribute__ ((vector_size (64))) V;
7
8 int c, d;
9 short e;
10 V g;
11
12 V
13 bar (void)
14 {
15 g[1] = d;
16 do
17 {
18 e += c;
19 g = g > 0;
20 }
21 while (g[1]);
22 return g;
23 }
24
25 void
26 foo (void)
27 {
28 int x = bar ()[3];
29 }