[Bug c++/14936] [3.4/3.3 Regression] -fdata-sections + uninitialized template data objects = spurious link errors

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 13 12:45:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-13 11:26 -------
The mainline gives:
        .section        .gnu.linkonce.b._ZN1SIdE1iE,"aw",@nobits
        .align 4
        .type   _ZN1SIdE1iE, @object
        .size   _ZN1SIdE1iE, 4
_ZN1SIdE1iE:

While 3.4.0 and 3.3.3 gives:
.globl _ZN1SIdE1iE
        .section        .bss._ZN1SIdE1iE,"aw",@nobits
        .align 4
        .type   _ZN1SIdE1iE, @object
        .size   _ZN1SIdE1iE, 4
_ZN1SIdE1iE:

3.2.3 did not put it into its own section:
        .comm   _ZN1SIdE1iE,4,4

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
      Known to fail|                            |3.3.3 3.4.0
      Known to work|                            |3.5.0 3.2.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-13 11:26:15
               date|                            |
            Summary|-fdata-sections +           |[3.4/3.3 Regression] -fdata-
                   |uninitialized template data |sections + uninitialized
                   |objects = spurious link     |template data objects =
                   |errors                      |spurious link errors
   Target Milestone|---                         |3.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14936



More information about the Gcc-bugs mailing list