RFA: Fix assembler data directives emitted for variable length structures

Richard Henderson rth@redhat.com
Wed Jan 15 18:39:00 GMT 2014


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~



More information about the Gcc-patches mailing list