From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11792 invoked by alias); 18 Jan 2004 00:53:03 -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 11642 invoked by uid 48); 18 Jan 2004 00:53:03 -0000 Date: Sun, 18 Jan 2004 00:53:00 -0000 Message-ID: <20040118005303.11638.qmail@sources.redhat.com> From: "rmerkert at alphatech dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040118004852.13725.rmerkert@alphatech.com> References: <20040118004852.13725.rmerkert@alphatech.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13725] Duplicate constructor/destructor/ X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg02041.txt.bz2 List-Id: ------- Additional Comments From rmerkert at alphatech dot com 2004-01-18 00:53 ------- OOPS - there's a cut and paste error (not that it really changes anything): The program should be: struct A { A(); A(const A&); A(int); }; A::A(){} A::A(const A&) {} A::A(int) {} and the output it produces is: .file "test.cpp" .text .align 2 .globl _ZN1AC1Ei .type _ZN1AC1Ei, @function _ZN1AC1Ei: .LFB10: pushl %ebp .LCFI0: movl %esp, %ebp .LCFI1: popl %ebp ret .LFE10: .size _ZN1AC1Ei, .-_ZN1AC1Ei .align 2 .globl _ZN1AC2Ei .type _ZN1AC2Ei, @function _ZN1AC2Ei: .LFB9: pushl %ebp .LCFI2: movl %esp, %ebp .LCFI3: popl %ebp ret .LFE9: .size _ZN1AC2Ei, .-_ZN1AC2Ei .align 2 .globl _ZN1AC1ERKS_ .type _ZN1AC1ERKS_, @function _ZN1AC1ERKS_: .LFB7: pushl %ebp .LCFI4: movl %esp, %ebp .LCFI5: popl %ebp ret .LFE7: .size _ZN1AC1ERKS_, .-_ZN1AC1ERKS_ .align 2 .globl _ZN1AC2ERKS_ .type _ZN1AC2ERKS_, @function _ZN1AC2ERKS_: .LFB6: pushl %ebp .LCFI6: movl %esp, %ebp .LCFI7: popl %ebp ret .LFE6: .size _ZN1AC2ERKS_, .-_ZN1AC2ERKS_ .align 2 .globl _ZN1AC1Ev .type _ZN1AC1Ev, @function _ZN1AC1Ev: .LFB4: pushl %ebp .LCFI8: movl %esp, %ebp .LCFI9: popl %ebp ret .LFE4: .size _ZN1AC1Ev, .-_ZN1AC1Ev .align 2 .globl _ZN1AC2Ev .type _ZN1AC2Ev, @function _ZN1AC2Ev: .LFB3: pushl %ebp .LCFI10: movl %esp, %ebp .LCFI11: popl %ebp ret .LFE3: .size _ZN1AC2Ev, .-_ZN1AC2Ev .section .note.GNU-stack,"",@progbits .ident "GCC: (GNU) 3.4.0 20040107 (experimental)" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13725