Bug 1948 - Error: symbol `test_equiv.eq.1_' is already defined as "*COM*"/16
Summary: Error: symbol `test_equiv.eq.1_' is already defined as "*COM*"/16
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 03:57 UTC by John David Anglin
Modified: 2005-12-05 17:04 UTC (History)
1 user (show)

See Also:
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2005-11-30 03:57:57 UTC
Test file:

       .SPACE $PRIVATE$
       .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82

test_equiv.eq.1_        .comm 16
test_equiv.eq.1_        .comm 16
test_equiv.eq.1_        .comm 16

-bash-2.05b$ /opt/gnu/bin/as -o comm-bug.o comm-bug.s
comm-bug.s: Assembler messages:
comm-bug.s:5: Error: symbol `test_equiv.eq.1_' is already defined as "*COM*"/16
comm-bug.s:6: Error: symbol `test_equiv.eq.1_' is already defined as "*COM*"/16

The HP assembler accepts the above code.
Comment 1 John David Anglin 2005-12-05 17:04:35 UTC
Fixed by patch.  See
http://sourceware.org/ml/binutils/2005-12/msg00030.html.