diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr52891-2.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr52891-2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr52891-2.c b/gcc/testsuite/gcc.c-torture/compile/pr52891-2.c index d9fcbd6dd9d..00ae0c8b99f 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr52891-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr52891-2.c @@ -1,6 +1,10 @@ /* PR tree-optimizations/52891 */ +#if __SIZEOF_INT__ > 2 struct __attribute__((packed)) S { unsigned s : 22; }; +#else +struct __attribute__((packed)) S { unsigned s : 12; }; +#endif struct __attribute__((packed)) T { struct S t; } c; int a, b, d; |