This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c/25805: DECL_SIZE of initialised flexible arrays
Richard Sandiford wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
>
>>The patch itself seems correct, so I will approve it, subject to 48
>>hours time for the C maintainers to object.
>
>
> Thanks, now applied to trunk and 4.1. The patch doesn't apply directly
> to earlier branches because they used TREE_LISTs rather than VECs
> for CONSTRUCTORs. A straight-forward conversion would introduce a linear
> walk over the list to get to the last element, which is probably not
> acceptable. I'm leaving this PR as a 3.4 and 4.0 regression for now.
OK, thanks.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713