public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21581] New: (optimisation) Functions in anonymous namespaces should default to "hidden" visibility
@ 2005-05-15 14:13 arjanv at redhat dot com
  2005-05-15 14:21 ` [Bug c++/21581] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: arjanv at redhat dot com @ 2005-05-15 14:13 UTC (permalink / raw)
  To: gcc-bugs

Functions (and variables I suppose) in an anonymous namespace can't
realisitically be used outside the shared library they are part of (due to the
mangled name being randomized each compile). This means that they could be of
visibility hidden, which 
1) Cuts down on the amount of work for the dynamic linker
2) Means that internal calls to these functions can avoid the PLT trampoline
   (and thus get higher performance)

-- 
           Summary: (optimisation) Functions in anonymous namespaces should
                    default to "hidden" visibility
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: arjanv at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 22+ messages in thread
[parent not found: <bug-21581-4603@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-08-28 12:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15 14:13 [Bug c++/21581] New: (optimisation) Functions in anonymous namespaces should default to "hidden" visibility arjanv at redhat dot com
2005-05-15 14:21 ` [Bug c++/21581] " pinskia at gcc dot gnu dot org
2005-05-17 16:40 ` bangerth at dealii dot org
2005-05-17 17:34 ` arjanv at redhat dot com
2005-05-17 17:44 ` arjanv at redhat dot com
2005-05-17 18:21 ` echristo at redhat dot com
2005-05-26 14:46 ` jakub at gcc dot gnu dot org
     [not found] <bug-21581-4603@http.gcc.gnu.org/bugzilla/>
2005-12-12 17:22 ` bkoz at gcc dot gnu dot org
2005-12-12 17:37 ` gdr at integrable-solutions dot net
2006-03-13  1:42 ` pinskia at gcc dot gnu dot org
2006-03-20 21:11 ` pinskia at gcc dot gnu dot org
2006-03-21 14:31 ` jason at gcc dot gnu dot org
2006-03-21 16:15 ` jason at gcc dot gnu dot org
2006-03-21 17:01 ` pinskia at gcc dot gnu dot org
2006-03-21 18:03 ` sabre at nondot dot org
2006-03-21 18:05 ` pinskia at gcc dot gnu dot org
2006-03-21 18:06 ` sabre at nondot dot org
2006-04-05 22:20 ` jason at gcc dot gnu dot org
2006-04-07  6:33 ` pinskia at gcc dot gnu dot org
2006-06-30  1:17 ` jason at gcc dot gnu dot org
2006-06-30 15:29 ` pinskia at gcc dot gnu dot org
2006-08-28 12:29 ` jakub at gcc dot gnu dot org

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).