public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27000]  New: Problems with latest visibility changes
@ 2006-04-03 11:10 jakub at gcc dot gnu dot org
  2006-04-03 11:11 ` [Bug c++/27000] " jakub at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-04-03 11:10 UTC (permalink / raw)
  To: gcc-bugs

On the testcases below GCC marks even instantiated templates
with the currently pushed visibility, in case of the first testcase
that's hidden (anonymous namespace) and in the third testcase hidden as well
(namespace with visibility attribute).
But the template really wasn't declared as hidden and making it hidden causes
serious problems (e.g. depending on which order you link the .o files from
the testcases together, for _ZN1SIiEC1ERKi and _ZN1SIiED1Ev wins either
default or hidden visibility.  If it is e.g. linked into a shared library
and default visibility wins, then on x86_64 it won't even link, as first and
third .o files rely on the symbols being hidden.


-- 
           Summary: Problems with latest visibility changes
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 11:10 [Bug c++/27000] New: Problems with latest visibility changes jakub at gcc dot gnu dot org
2006-04-03 11:11 ` [Bug c++/27000] " jakub at gcc dot gnu dot org
2006-04-03 11:12 ` jakub at gcc dot gnu dot org
2006-04-03 11:12 ` jakub at gcc dot gnu dot org
2006-04-03 11:18 ` jakub at gcc dot gnu dot org
2006-04-03 15:04 ` [Bug c++/27000] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-04-03 16:16 ` pinskia at gcc dot gnu dot org
2006-04-03 23:54 ` geoffk at gcc dot gnu dot org
2006-04-07  5:26 ` [Bug c++/27000] " pinskia at gcc dot gnu dot org
2006-06-22 21:16 ` [Bug c++/27000] visibility push/pop and templates go crazy jason at gcc dot gnu dot org
2006-06-30  1:17 ` jason at gcc dot gnu dot org
2006-06-30 15:31 ` pinskia at gcc dot gnu dot org
2006-07-02  2:53 ` pinskia at gcc dot gnu dot org
2006-08-28 12:28 ` 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).