This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Fix assembler data directives emitted for variable length structures


On 01/14/2014 08:37 AM, Nick Clifton wrote:
> gcc/ChangeLog
> 2014-01-13  Nick Clifton  <nickc@redhat.com>
> 
> 	PR middle-end/28865
> 	* varasm.c (output_constant): Return the number of bytes actually
> 	emitted.
> 	(output_constructor_array_range): Update the field size with the
> 	number of bytes emitted by output_constant.
> 	(output_constructor_regular_field): Likewise.  Also do not
> 	complain if the total number of bytes emitted is now greater
> 	than the expected fieldpos.
> 	* output.h (output_constant): Update prototype and descriptive
> 	comment.
> 
> gcc/testsuite/ChangeLog
> 2014-01-13  Nick Clifton  <nickc@redhat.com>
> 
> 	PR middle-end/28865
> 	* gcc.c-torture/compile/pr28865.c: New.
> 	* gcc.c-torture/execute/pr28865.c: New.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]