On 02/01/2017 10:18 AM, Richard Biener wrote:
True. Updated patch below.Richard. 2017-02-01 Richard Biener <rguent...@suse.de> PR cp/14179 cp/ * cp-gimplify.c (cp_fold): When folding a CONSTRUCTOR copy it lazily on the first changed element only and copy it fully upfront, only storing changed elements.
Looks good, with the tweak Jakub noticed. nathan -- Nathan Sidwell