From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15785 invoked by alias); 15 Aug 2004 23:30:00 -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 15762 invoked by uid 48); 15 Aug 2004 23:29:59 -0000 Date: Sun, 15 Aug 2004 23:30:00 -0000 From: "carlo at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040815232958.17042.carlo@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/17042] New: [regression 3.5] Duplicated symbol in assembly output X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01475.txt.bz2 List-Id: I cannot manage to write a small test case that still shows this bug. However - it must be a bug because this code compiles with all other compiler versions and did compile fine with CVS of May 2004. To reproduce compile the attached libcw_app.ii: [...] /usr/src/GNU/install/bin/../libexec/gcc/i686-redhat-linux/3.5.0/cc1plus -fpreprocessed libcw_app.ii -quiet -dumpbase libcw_app.cc -mtune=pentiumpro -auxbase-strip .libs/libcw_app.o -g -Wall -Woverloaded-virtual -Wundef -Wpointer-arith -Wwrite-strings -Werror -Winline -version -fPIC -o libcw_app.s GNU C++ version 3.5.0 20040813 (experimental) (i686-redhat-linux) compiled by GNU C version 3.5.0 20040813 (experimental). GGC heuristics: --param ggc-min-expand=90 --param ggc-min-heapsize=113141 as -V -Qy -o .libs/libcw_app.o libcw_app.s GNU assembler version 2.14.90.0.8 (i386-redhat-linux) using BFD version 2.14.90.0.8 20040114 libcw_app.s: Assembler messages: libcw_app.s:191: Error: symbol `__dso_handle' is already defined The problem is that `__dso_handle' is emitted twice in libcw_app.s, while it should only be emitted once. -- Summary: [regression 3.5] Duplicated symbol in assembly output Product: gcc Version: 3.5.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carlo at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-redhat-gnu-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17042