This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |