This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2008 13:15:11 -0000
- Subject: [Bug target/35496] [4.4 Regression] test failures between revs. 132950 and 132974
- References: <bug-35496-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from ubizjak at gmail dot com 2008-03-10 13:15 -------
(In reply to comment #16)
> (In reply to comment #14)
> > Does MS bitfield struct require 8byte alignment for long long field
> > for 32bit target?
>
> Can you try following patch (this will aling DImode values to their natural
> alignment - if bigger than default alignment - when MS bitfield is used):
Ah, we can use:
+ unsigned int type_size
+ = tree_low_cst (TYPE_SIZE (type), 1);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35496