C++ PATCH for c++/70153 (unhandled UNARY_PLUS_EXPR causes stack overflow)

Jason Merrill jason@redhat.com
Thu Mar 10 14:59:00 GMT 2016


On 03/10/2016 09:53 AM, Marek Polacek wrote:
> +    case UNARY_PLUS_EXPR:
> +      op0 = cp_fold_maybe_rvalue (TREE_OPERAND (x, 0), rval_ops);

You can just use cp_fold_rvalue here.  OK with that change.

Jason




More information about the Gcc-patches mailing list