------- Comment #5 from sandra at codesourcery dot com 2007-02-18 22:37 ------- This bug is fixed by this already-posted patch, which does some restructuring of the code in build_op_delete_call where the error is happening:
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01487.html I could come up with a smaller patch that fixes just this bug, but it would be obsoleted by the above changes. Specifically, the problem is at gcc/cp/call.c:4046 -- TREE_OPERAND (placement, 1) should be CALL_EXPR_ARGS (placement), but we're trying hard to stamp out CALL_EXPR_ARGS. :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30839