12 lines
324 B
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];
|
|
|