Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr53037-3.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* PR c/53037. */ | 1 /* PR c/53037. */ |
2 /* { dg-do compile } */ | 2 /* { dg-do compile } */ |
3 /* { dg-options "-O0 -Wall" } */ | 3 /* { dg-options "-O0 -Wall" } */ |
4 /* { dg-skip-if "" { avr-*-* } } */ | 4 /* { dg-require-effective-target int32 } */ |
5 | 5 |
6 struct __attribute__ ((aligned (8))) S8 { char a[8]; }; | 6 struct __attribute__ ((aligned (8))) S8 { char a[8]; }; |
7 struct __attribute__ ((packed)) S1 { | 7 struct __attribute__ ((packed)) S1 { |
8 struct S8 s8; | 8 struct S8 s8; |
9 }; /* { dg-warning "alignment 1 of 'struct S1' is less than 8" } */ | 9 }; /* { dg-warning "alignment 1 of 'struct S1' is less than 8" } */ |