[Bug c++/38577] [4.4 Regression] ICE: tree check: expected call_expr, have compound_expr in build_new_method_call, at cp/call.c:6000
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 19 16:11:00 GMT 2008
------- Comment #7 from jakub at gcc dot gnu dot org 2008-12-19 16:09 -------
In build_new_method_call, call at that spot is either error_mark_node (already
checked for), build_over_call returned value (can be a CALL_EXPR or
INDIRECT_REF
on a CALL_EXPR for references; both are handled already), or:
call = build2 (COMPOUND_EXPR, TREE_TYPE (call),
instance_ptr, call);
or:
call = build_nop (void_type_node, call);
I guess these (COMPOUND_EXPR and NOP_EXPR) need to be handled too.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet| |x86_64-pc-linux-gnu
GCC host triplet| |x86_64-pc-linux-gnu
GCC target triplet| |x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38577
More information about the Gcc-bugs
mailing list