rt_gccstream/gcc/testsuite/gcc.c-torture/compile/vector-align-1.c

12 lines
324 B
C

/* Check to make sure the alignment on vectors is not being lost. */
/* If some target has a Max alignment less than 128, please create
a #ifdef around the alignment and add your alignment. */
#define alignment 128
char x __attribute__((aligned(alignment),vector_size(2)));
int f[__alignof__(x) == alignment?1:-1];