[Bug target/15250] Option -mms-bitfields support on GCC 3.4 is not conformant to MS layout
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Mon May 3 01:35:00 GMT 2004
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-05-03 01:35 -------
This delta was part of large patchset committed by DJ Delorie on 2003-09-03.
It is not recorded in ChangeLog.
Reverting it restores correct ms-bitfield-layout.
===================================================================
RCS file: /cvs/gcc/gcc/gcc/stor-layout.c,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -r1.166 -r1.167
--- gcc/gcc/stor-layout.c 2003/08/20 12:24:18 1.166
+++ gcc/gcc/stor-layout.c 2003/09/04 03:17:50 1.167
@@ -1093,6 +1093,7 @@
rli->prev_field = NULL;
}
+ rli->offset_align = tree_low_cst (TYPE_SIZE (type), 0);
normalize_rli (rli);
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dj at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15250
More information about the Gcc-bugs
mailing list