Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.c-torture/execute/20010904-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 typedef struct x { int a; int b; } __attribute__((aligned(32))) X; | 1 /* If some target has a Max alignment less than 32, please create |
2 a #ifdef around the alignment and add your alignment. */ | |
3 #ifdef __pdp11__ | |
4 #define alignment 2 | |
5 #else | |
6 #define alignment 32 | |
7 #endif | |
8 | |
9 typedef struct x { int a; int b; } __attribute__((aligned(alignment))) X; | |
2 typedef struct y { X x; X y[31]; int c; } Y; | 10 typedef struct y { X x; X y[31]; int c; } Y; |
3 | 11 |
4 Y y[2]; | 12 Y y[2]; |
5 | 13 |
6 int main(void) | 14 int main(void) |