This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13134] [3.4 regression] Visibility attribute is ignored
- From: "bryner at brianryner dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2003 20:30:23 -0000
- Subject: [Bug c/13134] [3.4 regression] Visibility attribute is ignored
- References: <20031120005743.13134.bryner@brianryner.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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