From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7282 invoked by alias); 5 Feb 2006 00:20:05 -0000 Received: (qmail 7207 invoked by uid 48); 5 Feb 2006 00:20:01 -0000 Date: Sun, 05 Feb 2006 00:20:00 -0000 Message-ID: <20060205002001.7206.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/3187] gcc lays down two copies of constructors In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ian at airs dot com" 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-02/txt/msg00371.txt.bz2 List-Id: ------- Comment #20 from ian at airs dot com 2006-02-05 00:19 ------- In many common cases, the two constructors are identical. It should not be hard to simply emit both appropriate symbols before the function. That does not require any change to the ABI, but it eliminates the problem in the common case. I don't feel that this PR should be suspended, at least not until we have fixed the common case. -- ian at airs dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian at airs dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3187