to cp_finish_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162377
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-07-21 Jason Merrill <jason@redhat.com>
+
+ * parser.c (cp_parser_init_declarator): Pass LOOKUP_NORMAL
+ to cp_finish_decl.
+
2010-07-20 Jeffrey Yasskin <jyasskin@google.com>
PR c++/44641
`explicit' constructor is OK. Otherwise, an
`explicit' constructor cannot be used. */
((is_direct_init || !is_initialized)
- ? 0 : LOOKUP_ONLYCONVERTING));
+ ? LOOKUP_NORMAL : LOOKUP_IMPLICIT));
}
else if ((cxx_dialect != cxx98) && friend_p
&& decl && TREE_CODE (decl) == FUNCTION_DECL)