re PR testsuite/52641 (Test cases fail for 16-bit int targets)
PR testsuite/52641 PR tree-optimizations/52891 * gcc.c-torture/compile/pr52891-2.c: Fix test for 16-bit int. From-SVN: r186776
This commit is contained in:
parent
b40e334f1f
commit
e900e6bd30
@ -1,3 +1,9 @@
|
||||
2012-04-24 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
PR testsuite/52641
|
||||
PR tree-optimizations/52891
|
||||
* gcc.c-torture/compile/pr52891-2.c: Fix test for 16-bit int.
|
||||
|
||||
2012-04-24 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/52363
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user