public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51802] New: Duplicate mangling for OOP symbols
@ 2012-01-09 20:47 jb at gcc dot gnu.org
  2012-03-20  8:43 ` [Bug fortran/51802] [OOP] " burnus at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jb at gcc dot gnu.org @ 2012-01-09 20:47 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: jb@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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-13 16:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-09 20:47 [Bug fortran/51802] New: Duplicate mangling for OOP symbols jb at gcc dot gnu.org
2012-03-20  8:43 ` [Bug fortran/51802] [OOP] " burnus at gcc dot gnu.org
2012-03-20 10:55 ` pault at gcc dot gnu.org
2012-03-20 11:26 ` burnus at gcc dot gnu.org
2012-10-04 13:45 ` janus at gcc dot gnu.org
2015-10-13 16:34 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).