PR c/25805: DECL_SIZE of initialised flexible arrays

Richard Sandiford richard@codesourcery.com
Thu Jan 19 10:32:00 GMT 2006


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.

Richard



More information about the Gcc-patches mailing list