function.c (assign_parms): Handle frontend-directed pass by invisible reference.
commit8e51619a4c4f724a8ced224d4c4d5116d59a5b97
authorJason Merrill <jason@redhat.com>
Fri, 26 Jul 2002 20:10:43 +0000 (26 16:10 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 26 Jul 2002 20:10:43 +0000 (26 16:10 -0400)
tree9feb5c92f6ca92e0e155d86992b0be0d7a2f82a6
parent8a7f132d3dc5c2c543b5f9fb7fa098b0208c6474
function.c (assign_parms): Handle frontend-directed pass by invisible reference.

        * function.c (assign_parms): Handle frontend-directed pass by
        invisible reference.
cp/
        * call.c (build_over_call): Likewise.
        (cp_convert_parm_for_inlining): New fn.
        (convert_for_arg_passing): New fn.
        (convert_default_arg, build_over_call): Use it.
        (type_passed_as): New fn.
        * pt.c (tsubst_decl): Use it.
        * decl2.c (cp_build_parm_decl): New fn.
        (build_artificial_parm): Use it.
        (start_static_storage_duration_function): Likewise.
        * decl.c (start_cleanup_fn, grokdeclarater): Likewise.
        (grokparms): Don't mess with DECL_ARG_TYPE.
        * typeck.c (convert_arguments): Use convert_for_arg_passing.
        * cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
        Define.
        * cp-tree.h: Declare new fns.

From-SVN: r55781
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/function.c