public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27030]  New: Warning instead of error with weakref on local functions (also wrong warning message at that)
@ 2006-04-04 17:48 pinskia at gcc dot gnu dot org
  2006-04-04 17:50 ` [Bug c/27030] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-04 17:48 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-01  4:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-04 17:48 [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
2006-04-04 17:50 ` [Bug c/27030] " pinskia at gcc dot gnu dot org
2007-03-09 18:34 ` manu at gcc dot gnu dot org
2008-02-15 14:37 ` manu at gcc dot gnu dot org
2009-01-01  4:27 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).