[PATCH, testsuite, commited] pr39339 structure changed to avoid padding

Hariharan Sandanagobalane hariharans@picochip.com
Tue Mar 10 16:28:00 GMT 2009


Committed.

Regards
Hari

ChangeLog:
* gcc.c-torture/execute/pr39339.c: Bitfield sizes changed to avoid padding.


Index: gcc/testsuite/gcc.c-torture/execute/pr39339.c
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/pr39339.c       (revision 144751)
+++ gcc/testsuite/gcc.c-torture/execute/pr39339.c       (working copy)
@@ -4,8 +4,8 @@ struct C
    struct D
    {
      unsigned int columns : 4;
-    unsigned int fore : 9;
-    unsigned int back : 9;
+    unsigned int fore : 12;
+    unsigned int back : 6;
      unsigned int fragment : 1;
      unsigned int standout : 1;
      unsigned int underline : 1;



More information about the Gcc-patches mailing list