This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/27030] New: Warning instead of error with weakref on local functions (also wrong warning message at that)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]