This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Fix assembler data directives emitted for variable length structures
- From: Richard Henderson <rth at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 15 Jan 2014 10:39:10 -0800
- Subject: Re: RFA: Fix assembler data directives emitted for variable length structures
- Authentication-results: sourceware.org; auth=none
- References: <87zjmyr038 dot fsf at redhat dot com>
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~