http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13657
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|gcc-bugs at gcc dot gnu.org |jason at gcc dot gnu.org, | |paolo.carlini at oracle dot | |com --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-19 18:10:53 UTC --- For this issue, would it make sense to keep on propagating the impl_conv_rhs argument passed by check_return_expr to convert_for_initialization - that is, ICR_RETURN - beyond convert_for_assignment, thus to can_convert_arg_bad -> implicit_conversion -> standard_conversion -> instantiate_type ? Or we want to aim for something more ad hoc in this case?