This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/28161] Wrong bit field layout with -mms-bitfields
- From: "seongbae dot park at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2006 23:41:38 -0000
- Subject: [Bug middle-end/28161] Wrong bit field layout with -mms-bitfields
- References: <bug-28161-5208@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from seongbae dot park at gmail dot com 2006-06-26 23:41 -------
You're correct -I've overlooked the type mismatch.
One question though is the local variable "type" of place_field() is
TREE_TYPE (field), not DECL_BIT_FIELD_TYPE (field).
I'm not familiar with gcc type system to know which is correct
but it doesn't look consistent as it is.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28161