This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17042] New: [regression 3.5] Duplicated symbol in assembly output
- From: "carlo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2004 23:29:59 -0000
- Subject: [Bug middle-end/17042] New: [regression 3.5] Duplicated symbol in assembly output
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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