This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23372] [4.0/4.1/4.2 Regression] Temporary aggregate copy not elided when passing parameters by value
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2006 04:28:02 -0000
- Subject: [Bug c++/23372] [4.0/4.1/4.2 Regression] Temporary aggregate copy not elided when passing parameters by value
- References: <bug-23372-7904@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #38 from jason at gcc dot gnu dot org 2006-08-23 04:27 -------
Subject: Bug 23372
Author: jason
Date: Wed Aug 23 04:27:43 2006
New Revision: 116342
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116342
Log:
PR c++/23372
* call.c (build_over_call): Don't make a copy here if build_call
will make one too.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23372