2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83666.c
blob7bd1ed3ceb20b38fd3d6c6b3406f5370b81211e1
1 /* PR debug/83666 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -g --param=sccvn-max-scc-size=10 -Wno-psabi" } */
4 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
6 typedef int __attribute__ ((vector_size (64))) V;
8 int c, d;
9 short e;
10 V g;
13 bar (void)
15 g[1] = d;
18 e += c;
19 g = g > 0;
21 while (g[1]);
22 return g;
25 void
26 foo (void)
28 int x = bar ()[3];