[Bug c/27013] New: visibility attribute should not be permitted on local variables
geoffk at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 3 22:03:00 GMT 2006
This program:
void foo(void)
{
int x __attribute__((visibility("hidden")));
}
makes no sense and should produce a compilation error.
--
Summary: visibility attribute should not be permitted on local
variables
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: geoffk at gcc dot gnu dot org
GCC build triplet: *-*-*
GCC host triplet: *-*-*
GCC target triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27013
More information about the Gcc-bugs
mailing list