public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/33186] New: [4.3 Regression] ICE: tree check: expected function_type or method_type, have void_type in expand_call, at calls.c:2131
@ 2007-08-25 10:11 tbm at cyrius dot com
2007-08-25 10:13 ` [Bug tree-optimization/33186] " tbm at cyrius dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tbm at cyrius dot com @ 2007-08-25 10:11 UTC (permalink / raw)
To: gcc-bugs
I get the following ICE with trunk from 20070820:
(sid)27957:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O opensc-asn1.c
opensc-asn1.c: In function 'asn1_decode_entry':
opensc-asn1.c:11: internal compiler error: tree check: expected function_type
or method_type, have void_type in expand_call, at calls.c:2131
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.3 Regression] ICE: tree check: expected function_type
or method_type, have void_type in expand_call, at
calls.c:2131
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33186
^ permalink raw reply [flat|nested] 4+ messages in thread
* [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
2007-08-25 10:11 [Bug tree-optimization/33186] New: [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
@ 2007-08-25 10:13 ` tbm at cyrius dot com
2007-08-25 13:33 ` rguenth at gcc dot gnu dot org
2007-08-29 0:07 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tbm at cyrius dot com @ 2007-08-25 10:13 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [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
2007-08-25 10:11 [Bug tree-optimization/33186] New: [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
2007-08-25 10:13 ` [Bug tree-optimization/33186] " tbm at cyrius dot com
@ 2007-08-25 13:33 ` rguenth at gcc dot gnu dot org
2007-08-29 0:07 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-08-25 13:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-08-25 13:32 -------
I think this was fixed by
2007-08-24 Richard Guenther <rguenther@suse.de>
PR middle-end/33166
* tree-ssa.c (useless_type_conversion_p): Split into a
recursive and a non-recursive part.
(useless_type_conversion_p_1): New function.
* tree-ssa-ccp.c (fold_stmt_r): Make sure that the result
from maybe_fold_offset_to_reference is trivially convertible
to the desired type before doing the simplification.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33186
^ permalink raw reply [flat|nested] 4+ messages in thread
* [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
2007-08-25 10:11 [Bug tree-optimization/33186] New: [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
2007-08-25 10:13 ` [Bug tree-optimization/33186] " tbm at cyrius dot com
2007-08-25 13:33 ` rguenth at gcc dot gnu dot org
@ 2007-08-29 0:07 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-29 0:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-29 00:06 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33186
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-29 0:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-25 10:11 [Bug tree-optimization/33186] New: [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
2007-08-25 10:13 ` [Bug tree-optimization/33186] " tbm at cyrius dot com
2007-08-25 13:33 ` rguenth at gcc dot gnu dot org
2007-08-29 0:07 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).