[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

tbm at cyrius dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 25 10:13:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list