[Bug c/26993] New: ICE on invalid code with weakref
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 2 19:18:00 GMT 2006
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
More information about the Gcc-bugs
mailing list