This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26993] New: ICE on invalid code with weakref
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Apr 2006 19:18:18 -0000
- Subject: [Bug c/26993] New: ICE on invalid code with weakref
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Testcase:
int f(void)
static __typeof(f) __gthrw_f __attribute__ ((__weakref__("f")));
----
ICE:
t.c:2: error: storage class specified for parameter ?__gthrw_f?
t.c:2: internal compiler error: tree check: expected tree that contains ?decl
with visibility? structure, have ?parm_decl? in handle_weakref_attribute, at
c-common.c:4832
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on invalid code with weakref
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery
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=26993