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:
parent
4a1bfefb84
commit
e8b803e6e5
@ -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>
|
2011-09-04 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* gcc.c-torture/compile/20110902.c: new testcase.
|
* gcc.c-torture/compile/20110902.c: new testcase.
|
||||||
|
@ -1,5 +1 @@
|
|||||||
#if (__SIZEOF_INT__ >= 4)
|
T(0,enum E2 a:7;,B(0,a,e2_m1,e2_0))
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user