On 11/18/2011 08:57 AM, Paolo Carlini wrote:
On 11/18/2011 02:53 PM, Jason Merrill wrote:
I think let's go straight to cp_build_unary_op from
tsubst_copy_and_build in this case; it can't be overloaded, and we
don't want to mess with build_non_dependent_expr.
Ok. In the meanwhile I actually tested the attached, and it works. Is it
what you have in mind?
That looks the same as the patch I was responding to; I mean to call
cp_build_unary_op directly rather than build_x_unary_op from
tsubst_copy_and_build in the FIX_TRUNC_EXPR case.
Jason