This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33186] [4.3 Regression] ICE: tree check: expected function_type or method_type, have void_type in expand_call, at calls.c:2131
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2007 10:13:09 -0000
- Subject: [Bug tree-optimization/33186] [4.3 Regression] ICE: tree check: expected function_type or method_type, have void_type in expand_call, at calls.c:2131
- References: <bug-33186-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tbm at cyrius dot com 2007-08-25 10:13 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
struct sc_asn1_entry
{
void *parm;
}
asn1_decode_entry (struct sc_asn1_entry *ctx, struct sc_asn1_entry *entry)
{
void (*callback_func) (struct sc_asn1_entry *nctx);
*(void **) (&callback_func) = entry->parm;
callback_func (ctx);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33186