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

             Bug #: 51802
           Summary: Duplicate mangling for OOP symbols
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: j...@gcc.gnu.org


Compiling the last example with type-bound procedures at 

http://fortranwiki.org/fortran/show/Object-oriented+programming

and looking at the symbols generated in the binary, there is some duplication
of names, making the symbols longer than they need to be. From the "nm -s"
output:

0804869f T __class_circle_MOD___copy_class_circle_Circle
0804a050 B __class_circle_MOD___def_init_class_circle_Circle
0804a028 D __class_circle_MOD___vtab_class_circle_Circle

That is, "class_circle", the name of the module, appears twice.

Reply via email to