OSDN Git Service

* call.c (convert_default_arg): Make global, not static.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jun 1998 00:07:24 +0000 (00:07 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jun 1998 00:07:24 +0000 (00:07 +0000)
commitbf3565687c9fa654f73812a417a4500a0db2f0d6
treec1189af495a1437dc230d7b58fe49140aa3d3e1e
parentcdd56452b011e62ca504c9f203908f071bd04075
* call.c (convert_default_arg): Make global, not static.
(convert_arg_for_ellipsis): Split out from ...
(build_over_call): Here.
* cp-tree.h (convert_default_arg); Declare.
(convert_arg_to_ellipsis): Likewise.
(do_member_init): Remove.
* init.c (do_member_init): Remove; this code is dead.
(expand_member_init): Remove much of this code; it is dead.
* typeck.c (convert_arguments): Use convert_default_arg and
convert_arg_for_ellipsis, rather than duplicating here.
* call.c (convert_like): Don't fail silently if
build_user_type_conversion fails.  Always return error_mark_node
for failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20424 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.pt/crash9.C [new file with mode: 0644]