This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ emits .global twice
- From: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 23 May 2002 23:48:33 -0700
- Subject: g++ emits .global twice
with the mainline on sparc-sun-solaris2.7
cat t.c
int i;
g++ -O3 -S t.c
cat t.s
.file "t.c"
.global i
.global i <---- redundant
.section ".bss"
.align 4
.type i,#object
.size i,4
i:
.skip 4
.ident "GCC: (GNU) 3.2 20020523 (experimental)"
Does anybody have any idea what's the cause for the redundant ".global" ?