aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr90139.c
blob: f3d99f04c866c5d2a730352ad0add579c20e9e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR middle-end/90139 */

typedef float __attribute__((vector_size (sizeof (float)))) V;
void bar (int, V *);
int l;

void
foo (void)
{
  V n, b, o;
  while (1)
    switch (l)
      {
      case 0:
	o = n;
	n = b;
	b = o;
	bar (1, &o);
      }
}