OSDN Git Service

PR c++/40944
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Nov 2009 17:11:18 +0000 (17:11 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Nov 2009 17:11:18 +0000 (17:11 +0000)
commit77c5b04047ce81fa8b2f385a20204e878f8e4ac7
treeb8ebe932e20c29318830ff29443737efd3e15adf
parentbcb47f721233dc9414cbcda0fd20e3ab6ddd2f46
PR c++/40944
* call.c (initialize_reference): Add complain parm.
* typeck.c (convert_for_initialization): Pass it.
* decl.c (grok_reference_init): Likewise.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153856 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sfinae15.C [new file with mode: 0644]