* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr22480.c
blob5a2ab7cb2b7527be9579939247ec92d65f1f713a
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_shift } */
4 void
5 test_1 (void)
7 static unsigned int bm[16];
8 int j;
9 for (j = 0; j < 16; j++)
10 bm[j] <<= 8;
13 void
14 test_2 (int a)
16 static unsigned int bm[16];
17 int j;
18 for (j = 0; j < 16; j++)
19 bm[j] <<= a;
22 void
23 test_3 (void)
25 static unsigned bm[16];
26 int am[16];
27 int j;
28 for (j = 0; j < 16;j++)
29 bm[j] <<= am[j];