This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13009] [3.3 regression] Implicitly-defined assignment operator writes to wrong memory
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 05:04:18 -0000
- Subject: [Bug c++/13009] [3.3 regression] Implicitly-defined assignment operator writes to wrong memory
- References: <20031111153758.13009.oldfishdontdie@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-21 05:04 -------
Subject: Bug 13009
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: gdr@gcc.gnu.org 2004-01-21 05:04:06
Modified files:
gcc/cp : ChangeLog call.c
Added files:
gcc/testsuite/g++.dg/init: assign1.C
Log message:
Backport from mainline
2003-12-28 Mark Mitchell <mark@codesourcery.com>
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.238&r2=1.3076.2.239
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.341.2.34&r2=1.341.2.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/assign1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.14.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13009