[Bug c/27030] New: Warning instead of error with weakref on local functions (also wrong warning message at that)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 4 17:48:00 GMT 2006
Take:
int f(void)
{
__typeof(f) __gthrw_f __attribute__ ((__weakref__("f")));
}
--
Currently we get:
t.c: In function 'f':
t.c:3: warning: 'alias' attribute ignored
I don't see an alias attribute in the orginal code at all.
--
Summary: Warning instead of error with weakref on local functions
(also wrong warning message at that)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27030
More information about the Gcc-bugs
mailing list