From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3127 invoked by alias); 14 Jan 2007 05:01:13 -0000 Received: (qmail 3037 invoked by uid 48); 14 Jan 2007 05:01:05 -0000 Date: Sun, 14 Jan 2007 05:01:00 -0000 Message-ID: <20070114050105.3036.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/30442] Expanded array initialization can use memset builtin function In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg01113.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-14 05:01 ------- This is a bit complex, we could use a loop reroller to roll this into a loop and then transform that loop into memset for test1. For test2 it is simple and a patch was presented at last year's gcc summit (and I posted an older version of that patch a year or two ago). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu | GCC target triplet|i686-pc-linux-gnu | Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2007-01-14 05:01:04 date| | Summary|Array initialization can use|Expanded array |memset builtin function |initialization can use | |memset builtin function http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30442