This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch ping: [C++ PATCH] Emit array initialization from ctor as loop if possible (PR c++/59659)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Jan 2014 10:59:51 +0100
- Subject: Patch ping: [C++ PATCH] Emit array initialization from ctor as loop if possible (PR c++/59659)
- Authentication-results: sourceware.org; auth=none
- References: <20140110203522 dot GG892 at tucnak dot redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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