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
* [Bug c/27030] Warning instead of error with weakref on local functions (also wrong warning message at that)
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 ` pinskia at gcc dot gnu dot org
2007-03-09 18:34 ` manu at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-04 17:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-04 17:50 -------
4.1.0 fails the same way.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.0 4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27030
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/27030] Warning instead of error with weakref on local functions (also wrong warning message at that)
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
3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-09 18:34 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
------- Comment #2 from manu at gcc dot gnu dot org 2007-03-09 18:33 -------
(In reply to comment #1)
> 4.1.0 fails the same way.
>
4.3.0 revision 122287 says:
pr27030.c: In function f:
pr27030.c:3: warning: __weakref__ attribute ignored
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27030
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/27030] Warning instead of error with weakref on local functions (also wrong warning message at that)
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
3 siblings, 0 replies; 5+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-02-15 14:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from manu at gcc dot gnu dot org 2008-02-15 14:36 -------
Andrew,
what is the status of this bug? It seems fixed in trunk. Do you want to fix it
in the branches or should we close it?
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27030
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/27030] Warning instead of error with weakref on local functions (also wrong warning message at that)
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
` (2 preceding siblings ...)
2008-02-15 14:37 ` manu at gcc dot gnu dot org
@ 2009-01-01 4:27 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-01 4:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2009-01-01 04:25 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
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).