re PR c++/11878 (ICE in cp_expr_size)
authorJason Merrill <jason@gcc.gnu.org>
Tue, 14 Oct 2003 20:47:07 +0000 (16:47 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 Oct 2003 20:47:07 +0000 (16:47 -0400)
commit52cdd56c655eaae8c91201e3563564b7dd1d0d35
treea4d3b1d1c9f976533a07df5826af2b777256e879
parent5455db23afe7ba8c0fe203868ac6a62bafeb54a8
re PR c++/11878 (ICE in cp_expr_size)

        PR c++/11878
        * tree.c (build_target_expr_with_type): Call force_rvalue for
        classes with non-trivial copy ctors.

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