This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/13134] [3.4 regression] Visibility attribute is ignored


------- Additional Comments From bryner at brianryner dot com  2003-11-24 03:09 -------
(In reply to comment #8)
> I'm testing a patch right now that copies visibility from old declarations to
> new ones, and that allows visibility on new declarations to override old ones,
> *but* I'm treating default visibility as just the same as no visibility
> declaration.  I don't like the idea of having something that's called "default"
> but that gives you different behavior than leaving it out.  That strikes me as
> an artifact of the old implementation

Unfortunately, that comes straight from the ELF visibility types.  DEFAULT is
one of these types.  So from that point of view, it should not work any
differently from the other visibility types.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]