[C++ RFH/Patch] PR 52892 (and others)

Jason Merrill jason@redhat.com
Tue Aug 26 18:58:00 GMT 2014


On 08/26/2014 12:01 PM, Paolo Carlini wrote:
> the difference, for the latter and for more complex cases, is that
> adjust_temp_type calls cp_fold_convert which ends up returning a
> NOP_EXPR (eg, build in fold_convert_loc).

Perhaps we should address this in adjust_temp_type, either by ignoring 
the conversion to a canonically equivalent type or by directly changing 
the type of the ADDR_EXPR.

Jason



More information about the Gcc-patches mailing list