This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]