http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59032

--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to vries from comment #4)
> I've tried to do something similar in cp_build_unary_op. Tentative patch:

That seems very complicated. We know the arguments, so we know which has to be
converted to what. You could probably make cp_build_unary_op call
cp_build_binary_op and cp_build_modify_expr (expand ++v as v=v+1), but I expect
something like the 1-liner in comment #3 should be enough, no?

Reply via email to