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.

Perhaps we should hand off to build_static_cast in the case described by the comment, rather than duplicate the logic.

Jason

Reply via email to