[patch] improve handling of ms_struct

Eric Christopher echristo@apple.com
Thu May 25 05:01:00 GMT 2006


On May 23, 2006, at 4:17 PM, Joseph S. Myers wrote:

> On Tue, 23 May 2006, Eric Christopher wrote:
>
>> 	* doc/extend.texi (ms_struct): Add documentation of format.
>
> Please use the Texinfo facilities for enumerated lists (@enumerate)
> instead of writing 1) etc.

Hey, those are cool (and much easier).

New patch attached. OK for mainline? Tested by looking at the  
generated info files (above the operational testing yesterday).

-eric

2006-05-19  Eric Christopher  <echristo@apple.com>

	* stor-layout.c (start_record_layout): Initialize  
remaining_in_alignment.
	(debug_rli): Output value for remaining_in_alignment.
	(update_alignment_for_field): Unconditionalize
	ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
	extra alignment code.
	(place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
	ms_bitfield_layout_p code. Rewrite handling of structure fields.
	* tree.h (record_layout_info_s): Remove prev_packed.
	* doc/extend.texi (ms_struct): Add documentation of format.

2006-05-19  Eric Christopher  <echristo@apple.com>

	* gcc.dg/attr-ms_struct-1.c: New.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fsf_ms_struct.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060525/574933c3/attachment.txt>


More information about the Gcc-patches mailing list