https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179
--- Comment #74 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Feb 2 08:55:44 2017 New Revision: 245118 URL: https://gcc.gnu.org/viewcvs?rev=245118&root=gcc&view=rev Log: 2017-02-02 Richard Biener <rguent...@suse.de> PR cp/14179 * 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. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c