This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" ? 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]