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
This commit is contained in:
Jakub Jelinek 2011-09-05 15:53:08 +02:00 committed by Jakub Jelinek
parent 4a1bfefb84
commit e8b803e6e5
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -1,5 +1 @@
#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))