[Bug c++/59032] [4.8/4.9 Regression] ICE incrementing vector type
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 10 21:14:00 GMT 2013
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?
More information about the Gcc-bugs
mailing list