http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59659
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 31785 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31785&action=edit patch for the array initialization Untested patch for the array initialization - if there are several (patch uses 10, could be say a param) consecutive same elements in the ctor, we can just use a loop instead, and let it to the compiler to decide if it will want to unroll it or not. I guess the initializer_list would need similar treatment.