From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25687 invoked by alias); 13 Aug 2005 17:57:12 -0000 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 Received: (qmail 25029 invoked by uid 48); 13 Aug 2005 17:56:46 -0000 Date: Sat, 13 Aug 2005 17:57:00 -0000 Message-ID: <20050813175646.25028.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050813080257.23372.guillaume.melquiond@ens-lyon.fr> References: <20050813080257.23372.guillaume.melquiond@ens-lyon.fr> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23372] [4.0/4.1 Regression] Temporary aggregate copy not elided when passing parameters by value X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg01507.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-13 17:56 ------- Confirmed. (In reply to comment #1) > after the tree optimizers. f (*a) would not be gimple, so we create > the temporary in the first place. TER does not remove this wart, > neither does expand - so we start with two memcpys after RTL expansion. TER only works on scalars so it cannot work. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |missed-optimization Known to fail| |4.0.0 4.1.0 Known to work| |3.4.0 3.3.3 3.2.3 3.0.4 | |2.95.3 Last reconfirmed|0000-00-00 00:00:00 |2005-08-13 17:56:39 date| | Summary|Temporary aggregate copy not|[4.0/4.1 Regression] |elided when passing |Temporary aggregate copy not |parameters by value |elided when passing | |parameters by value Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23372