This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15250] [3.4/3.5 Regression] Option -mms-bitfields support on GCC 3.4 is not conformant to MS layout
- From: "dj at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2004 23:17:00 -0000
- Subject: [Bug target/15250] [3.4/3.5 Regression] Option -mms-bitfields support on GCC 3.4 is not conformant to MS layout
- References: <20040502174154.15250.p.obry@wanadoo.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dj at redhat dot com 2004-05-28 23:16 -------
Subject: Re: [3.4/3.5 Regression] Option -mms-bitfields support on GCC 3.4 is not conformant to MS layout
> DJ --
>
> Would you please revert the erroneous part of the patch ASAP?
>
> -- Mark
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15250
Done, for head and 3.4
2004-05-28 DJ Delorie <dj@redhat.com>
* stor-layout.c (place_field): Revert erroneous commit.
Index: stor-layout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/stor-layout.c,v
retrieving revision 1.190
diff -p -C2 -r1.190 stor-layout.c
*** stor-layout.c 19 May 2004 17:53:45 -0000 1.190
--- stor-layout.c 28 May 2004 23:11:34 -0000
*************** place_field (record_layout_info rli, tre
*** 1128,1132 ****
}
- rli->offset_align = tree_low_cst (TYPE_SIZE (type), 0);
normalize_rli (rli);
}
--- 1128,1131 ----
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15250