On 02/29/2012 06:53 AM, Paolo Carlini wrote:
Daniel noticed a couple other SFINAE issues, which I'm fixing in the usual straightforward way. Tested x86_64-linux.
When fixing these things, please add checking for error_mark_node return as well. For instance, in this patch the calls to decay_conversion from build_conditional_expr_1 could return error_mark_node, in which case we want to return out of build_conditional_expr_1 as well. Similarly with the call in convert_like_real, and so on.
PS: while working on the patch, I noticed that a few functions, which in the meanwhile acquired a tsubst_flags_t parameter, aren't fully propagating it, are still passing tf_warning_or_error. Apparently a clean-up is in order.
Please. :) Jason