]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/init.c
init.c (build_new_1): Preevaluate placement args.
authorJason Merrill <jason@redhat.com>
Mon, 17 Nov 2003 19:39:46 +0000 (14:39 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Nov 2003 19:39:46 +0000 (14:39 -0500)
commita61116616e125f6e81c63958c2808fb02c3a7732
tree037654a20e1f76da2e82ffce707aa83688a138d5
parent47fcfa7bc18a4e8d9ee1897280dfda88d65d6c1b
init.c (build_new_1): Preevaluate placement args.

        * init.c (build_new_1): Preevaluate placement args.
        * call.c (build_op_delete_call): Don't expose placement args to
        overload resolution.

From-SVN: r73677
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/init.c
gcc/testsuite/g++.dg/init/placement2.C [new file with mode: 0644]