From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1721 invoked by alias); 4 Apr 2006 17:48:05 -0000 Received: (qmail 1705 invoked by uid 48); 4 Apr 2006 17:48:03 -0000 Date: Tue, 04 Apr 2006 17:48:00 -0000 Subject: [Bug c/27030] New: Warning instead of error with weakref on local functions (also wrong warning message at that) X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-04/txt/msg00335.txt.bz2 List-Id: 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