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

bryner at brianryner dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 20 20:30:00 GMT 2003


------- Additional Comments From bryner at brianryner dot com  2003-11-20 20:30 -------
There's another case which my patch does not fix:

------------------------------------------------------------------
extern int data1 __attribute__((visibility ("hidden")));

int data1 = 5;
------------------------------------------------------------------

data1 is emitted with default visbility, but in gcc 3.3 is given hidden visibility.

-- 


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



More information about the Gcc-bugs mailing list