re PR c++/11266 ([tree-ssa] ICE with placement new)
authorJason Merrill <jason@gcc.gnu.org>
Mon, 17 Nov 2003 16:33:59 +0000 (11:33 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Nov 2003 16:33:59 +0000 (11:33 -0500)
commit2a53208d3c33530bbb30121080fea21e5b2c8bf7
tree4a7fd68f62c47816fd50090e692c8ca50e39e391
parentcb7a5092bfe1a298362804cc91f8a53a827ef955
re PR c++/11266 ([tree-ssa] ICE with placement new)

        PR c++/11266
        * gimplify.c (gimple_add_tmp_var): Also make sure
        seen_in_bind_expr isn't set.
        (mostly_copy_tree_r): Don't copy a TARGET_EXPR.
        (gimplify_target_expr): Only expand a TARGET_EXPR the first time
        we see it.

[[Split portion of a mixed commit.]]

From-SVN: r73674.2
gcc/testsuite/g++.dg/init/placement1.C [new file with mode: 0644]