Commit e900e6bd by Georg-Johann Lay Committed by Georg-Johann Lay

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
parent b40e334f
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> 2012-04-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/52363 PR c++/52363
......
/* PR tree-optimizations/52891 */ /* PR tree-optimizations/52891 */
#if __SIZEOF_INT__ > 2
struct __attribute__((packed)) S { unsigned s : 22; }; struct __attribute__((packed)) S { unsigned s : 22; };
#else
struct __attribute__((packed)) S { unsigned s : 12; };
#endif
struct __attribute__((packed)) T { struct S t; } c; struct __attribute__((packed)) T { struct S t; } c;
int a, b, d; int a, b, d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment