Commit e8b803e6 by Jakub Jelinek Committed by Jakub Jelinek

struct-layout-1_test.h: Decrease bitfield size to work even with -fshort-enums.

	* gcc.dg/compat/struct-layout-1_test.h: Decrease bitfield size
	to work even with -fshort-enums.

From-SVN: r178540
parent 4a1bfefb
2011-09-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/compat/struct-layout-1_test.h: Decrease bitfield size
to work even with -fshort-enums.
2011-09-04 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/20110902.c: new testcase.
......
#if (__SIZEOF_INT__ >= 4)
T(0,enum E2 a:31;,B(0,a,e2_m1,e2_0))
#else
T(0,enum E2 a:15;,B(0,a,e2_m1,e2_0))
#endif
T(0,enum E2 a:7;,B(0,a,e2_m1,e2_0))
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