1 /* PR tree-optimization/48616 */
3 /* { dg-options "-O2 -ftree-vectorize" } */
4 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
6 extern void abort (void);
7 int a
[4] __attribute__((aligned (32)));
8 int b
[4] __attribute__((aligned (32)));
9 int c
[4] __attribute__((aligned (32)));
10 int d
[4] __attribute__((aligned (32)));
11 int e
[4] __attribute__((aligned (32)));
13 __attribute__((noinline
, noclone
))
21 __attribute__((noinline
, noclone
))
38 __attribute__((noinline
, noclone
))
55 __attribute__((noinline
, noclone
))
73 __attribute__((noinline
, noclone
))
95 for (i
= 0; i
< 4; i
++)
101 asm volatile ("" : : "r" (b
) : "memory");
102 asm volatile ("" : : "r" (c
) : "memory");
103 asm volatile ("" : "=r" (t
) : "0" (d
) : "memory");
105 for (i
= 0; i
< 4; i
++)
107 if (a
[i
] != (32 << (i
+ 1)) || d
[i
] != (32 >> (i
+ 1)))
113 for (i
= 0; i
< 4; i
++)
115 if (a
[i
] != (32 << (i
+ 1)) || d
[i
] != (32 >> (i
+ 1)))
120 fn3 (t
!= 0, t
!= 0);
121 for (i
= 0; i
< 4; i
++)
123 if (a
[i
] != (32 << 1) || d
[i
] != (32 >> 1))
129 for (i
= 0; i
< 4; i
++)
131 if (a
[i
] != (32 << 1) || d
[i
] != (32 >> 1))