re PR c++/39480 (generated memcpy causes trouble in assignment)
authorJason Merrill <jason@redhat.com>
Mon, 13 Apr 2009 20:53:34 +0000 (16:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 13 Apr 2009 20:53:34 +0000 (16:53 -0400)
commit15237f9a89b2d626073e1261e19b6608088e1d70
treedfce435461a53d08f59ec5e247223e0c5474d547
parent1244a8b735508cea75ab03c7a72f221d31b2bb4f
re PR c++/39480 (generated memcpy causes trouble in assignment)

PR c++/39480
* call.c (build_over_call): Don't call memcpy if the target is
the same as the source.

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