From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7489 invoked by alias); 14 Nov 2006 00:53:43 -0000 Received: (qmail 5139 invoked by uid 48); 14 Nov 2006 00:53:34 -0000 Date: Tue, 14 Nov 2006 00:53:00 -0000 Message-ID: <20061114005334.5136.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/29688] resize initializes whole array In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pcarlini at suse dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg01190.txt.bz2 List-Id: ------- Comment #6 from pcarlini at suse dot de 2006-11-14 00:53 ------- I have analized in detail the case at issue (resize to the same size of the current one) and came to the conclusion that trying to optimize for it (at the cost of increasing the size of the inlined function) isn't really worth the trouble, taking also into account that for PODs __valarray_destroy_elements is already optimized out. -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29688