re PR c++/13009 (Implicitly-defined assignment operator writes to wrong memory)
authorMark Mitchell <mark@codesourcery.com>
Mon, 29 Dec 2003 01:30:32 +0000 (01:30 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 29 Dec 2003 01:30:32 +0000 (01:30 +0000)
commit4c2a4b907dc3d79259747b6f21b1633d8e4c99aa
tree95eb9b436bb199f883158f9eaef78ea125c612bb
parent6c5d63c80bb05f372f695a37e96b9a409793fed3
re PR c++/13009 (Implicitly-defined assignment operator writes to wrong memory)

PR c++/13009
* call.c (build_special_member_call): Do not assume that we have a
pointer to the complete object in an assignment operator.

PR c++/13009
* g++.dg/init/assign1.C: New test.

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