This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r171064 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 16 Mar 2011 20:03:03 -0000
- Subject: r171064 - in /branches/gcc-4_6-branch/gcc: cp/C...
Author: jason
Date: Wed Mar 16 20:03:01 2011
New Revision: 171064
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171064
Log:
PR c++/48113
* typeck.c (convert_for_initialization): Use
perform_implicit_conversion_flags.
* call.c (standard_conversion): If LOOKUP_PREFER_RVALUE, set
rvaluedness_matches_p on ck_rvalue.
(convert_like_real) [ck_rvalue]: And restore it here.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/sfinae6.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/call.c
branches/gcc-4_6-branch/gcc/cp/typeck.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/initlist38.C
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/pr45908.C
branches/gcc-4_6-branch/gcc/testsuite/g++.old-deja/g++.jason/conversion11.C
branches/gcc-4_6-branch/gcc/testsuite/g++.old-deja/g++.law/arg11.C