public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46949] New: ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)
@ 2010-12-15 0:06 d.g.gorbachev at gmail dot com
2011-01-26 14:46 ` [Bug middle-end/46949] [4.6 regression] " hubicka at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2010-12-15 0:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949
Summary: ICE when weakref is used on a definition (internal
compiler error: in function_and_variable_visibility,
at ipa.c:904)
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
static void __attribute__((weakref("bar"))) foo(void) { }
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)
2010-12-15 0:06 [Bug middle-end/46949] New: ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904) d.g.gorbachev at gmail dot com
@ 2011-01-26 14:46 ` hubicka at gcc dot gnu.org
2011-01-27 16:29 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-26 14:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011.01.26 14:29:32
CC| |hubicka at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |hubicka at gcc dot gnu.org
|gnu.org |
Summary|ICE when weakref is used on |[4.6 regression] ICE when
|a definition (internal |weakref is used on a
|compiler error: in |definition (internal
|function_and_variable_visib |compiler error: in
|ility, at ipa.c:904) |function_and_variable_visib
| |ility, at ipa.c:904)
Ever Confirmed|0 |1
--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-26 14:29:32 UTC ---
Confirmed. Mine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)
2010-12-15 0:06 [Bug middle-end/46949] New: ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904) d.g.gorbachev at gmail dot com
2011-01-26 14:46 ` [Bug middle-end/46949] [4.6 regression] " hubicka at gcc dot gnu.org
@ 2011-01-27 16:29 ` hubicka at gcc dot gnu.org
2011-01-27 16:35 ` hubicka at gcc dot gnu.org
2011-02-02 18:29 ` dnovillo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-27 16:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-27 16:16:44 UTC ---
Author: hubicka
Date: Thu Jan 27 16:16:34 2011
New Revision: 169332
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169332
Log:
PR middle-end/46949
* cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
(process_function_and_variable_attributes): Check defined weakrefs.
* gcc.dg/attr-weakref-4.c: New testcase
Added:
trunk/gcc/testsuite/gcc.dg/attr-weakref-4.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)
2010-12-15 0:06 [Bug middle-end/46949] New: ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904) d.g.gorbachev at gmail dot com
2011-01-26 14:46 ` [Bug middle-end/46949] [4.6 regression] " hubicka at gcc dot gnu.org
2011-01-27 16:29 ` hubicka at gcc dot gnu.org
@ 2011-01-27 16:35 ` hubicka at gcc dot gnu.org
2011-02-02 18:29 ` dnovillo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-27 16:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-27 16:19:56 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/46949] [4.6 regression] ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904)
2010-12-15 0:06 [Bug middle-end/46949] New: ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904) d.g.gorbachev at gmail dot com
` (2 preceding siblings ...)
2011-01-27 16:35 ` hubicka at gcc dot gnu.org
@ 2011-02-02 18:29 ` dnovillo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-02-02 18:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46949
--- Comment #4 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 17:57:21 UTC ---
Author: dnovillo
Date: Wed Feb 2 17:57:10 2011
New Revision: 169649
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169649
Log:
PR middle-end/46949
* cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
(process_function_and_variable_attributes): Check defined weakrefs.
* gcc.dg/attr-weakref-4.c: New testcase
Added:
branches/google/integration/gcc/testsuite/gcc.dg/attr-weakref-4.c
Modified:
branches/google/integration/gcc/ChangeLog
branches/google/integration/gcc/cgraphunit.c
branches/google/integration/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-02 18:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 0:06 [Bug middle-end/46949] New: ICE when weakref is used on a definition (internal compiler error: in function_and_variable_visibility, at ipa.c:904) d.g.gorbachev at gmail dot com
2011-01-26 14:46 ` [Bug middle-end/46949] [4.6 regression] " hubicka at gcc dot gnu.org
2011-01-27 16:29 ` hubicka at gcc dot gnu.org
2011-01-27 16:35 ` hubicka at gcc dot gnu.org
2011-02-02 18:29 ` dnovillo at gcc dot gnu.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).