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

bryner at brianryner dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 24 03:09:00 GMT 2003


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



More information about the Gcc-bugs mailing list