Hi,
Jason Merrill <ja...@redhat.com> ha scritto: >On 06/12/2013 08:49 PM, Paolo Carlini wrote: >> + /* Add any qualifier conversions. */ >> + return build_nop (type, expr); > >For a cast to reference type, this will produce an rvalue rather than >an lvalue. Ah, thanks a lot for the clarification. Admittedly, I still find the whole area of nops rather obscure. >Perhaps we should hand off to build_static_cast in the case described >by >the comment, rather than duplicate the logic. Thanks for hint, I'll try to come up with another try over the next day or so. Thanks again, Paolo