]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/typeck2.c
* init.c (build_value_init_noctor): Handle REFERENCE_TYPE at top
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Apr 2011 21:47:17 +0000 (21:47 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Apr 2011 21:47:17 +0000 (21:47 +0000)
commit74b7a9bc56cb7d983e66d88ae80b2a6f299fe3d7
tree1082ced58f08d7332de2d310c6d76893c8dee5c6
parent70cac69df5670f0f6047cea16520d94411b05e17
* init.c (build_value_init_noctor): Handle REFERENCE_TYPE at top
level.
(perform_member_init): Not here.
* typeck2.c (build_functional_cast): Limit REFERENCE_TYPE special
case to templates.
(abstract_virtuals_error_sfinae): Remove RESULT_DECL special case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172142 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/typeck2.c