public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/23058] visibility attribute does not work for aliased symbols
       [not found] <bug-23058-128@http.gcc.gnu.org/bugzilla/>
@ 2006-06-20 18:21 ` jason at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-06-20 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jason at gcc dot gnu dot org  2006-06-20 18:20 -------
You're telling the compiler that "exported_var" has default visibility, then
defining a variable called "my_exported_var" which happens to have the same
symbol.  The compiler doesn't unify multiple declarations with the same
assembler name, and I don't think it should.

You should define the same declaration that you used to declare the visibility.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug middle-end/23058] visibility attribute does not work for aliased symbols
  2005-07-25 11:53 [Bug c/23058] New: " bruno at clisp dot org
@ 2005-07-25 12:53 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-25 12:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


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


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

end of thread, other threads:[~2006-06-20 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23058-128@http.gcc.gnu.org/bugzilla/>
2006-06-20 18:21 ` [Bug middle-end/23058] visibility attribute does not work for aliased symbols jason at gcc dot gnu dot org
2005-07-25 11:53 [Bug c/23058] New: " bruno at clisp dot org
2005-07-25 12:53 ` [Bug middle-end/23058] " pinskia 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).