diff mbox

[committed] Fix c++/65556 testcase

Message ID 20150330141822.GG25731@redhat.com
State New
Headers show

Commit Message

Marek Polacek March 30, 2015, 2:18 p.m. UTC
Apparently 41-bit bit-fields with type long can't be used on archs with 32-bit long.

Applying to trunk.

2015-03-30  Marek Polacek  <polacek@redhat.com>

	* c-c++-common/pr65556.c: Change the width of bit-fields.


	Marek
diff mbox

Patch

diff --git gcc/testsuite/c-c++-common/pr65556.c gcc/testsuite/c-c++-common/pr65556.c
index c6729a1..8629a48 100644
--- gcc/testsuite/c-c++-common/pr65556.c
+++ gcc/testsuite/c-c++-common/pr65556.c
@@ -4,9 +4,9 @@ 
 struct S
 {
   long l: 1;
-  long l2: 41;
+  long l2: 21;
   unsigned long ul: 1;
-  unsigned long ul2: 41;
+  unsigned long ul2: 21;
 } s;
 
 void