re PR c++/57901 (Cannot call-by-value such that class has non-trivial (constexpr...
authorJason Merrill <jason@redhat.com>
Tue, 30 Jul 2013 13:28:31 +0000 (09:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 30 Jul 2013 13:28:31 +0000 (09:28 -0400)
commitb6d846de2be1df6fe282b0b4094ec9cdb9268d88
treed1ad9f0bc1432c5f5782a879e9fe3fb28d01c148
parent1b798a0fe160162efebffb974ebb67ed2456466a
re PR c++/57901 (Cannot call-by-value such that class has non-trivial (constexpr) move constructor)

PR c++/57901
* semantics.c (build_data_member_initialization, constexpr_fn_retval):
Use break_out_target_exprs instead of unshare_expr.

From-SVN: r201338
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/constexpr-value4.C [new file with mode: 0644]