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