DR 587 PR c++/51317
authorJason Merrill <jason@redhat.com>
Fri, 9 May 2014 18:16:18 +0000 (14:16 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 May 2014 18:16:18 +0000 (14:16 -0400)
commite8ee694a14382f4b2cea7ec5622e2be5329d581d
treea46b7e14b2418d4d41841748d0690d5f66ef478c
parentbfa589517b23a771d285e1a0e7cb701b46c63d95
DR 587 PR c++/51317

DR 587
PR c++/51317
* call.c (build_conditional_expr_1, conditional_conversion): Handle
non-class lvalues and xvalues that differ only in cv-qualifiers.

From-SVN: r210285
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/rv-cond2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/expr/cond14.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/return-reference.C