This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch ping: [C++ PATCH] Emit array initialization from ctor as loop if possible (PR c++/59659)


On Fri, Jan 10, 2014 at 09:35:22PM +0100, Jakub Jelinek wrote:
> 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c++/59659
> 	* init.c (build_vec_init): If there are 10+ elements with the
> 	same value in the CONSTRUCTOR, construct them using a runtime loop
> 	rather than one by one.
> 
> 	* g++.dg/opt/pr59659.C: New test.

Ping.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]