aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-07-20 02:46:38 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-07-20 02:46:38 +0000
commit31aedc36c0234bfa1b6902e748032b9c49ed2f03 (patch)
treeafc70f11d77ae96073c390118f32c23efadd5ffc /gcc/cp/class.c
parente05de6f246b5bb905229c0f9365010d7adf15bdc (diff)
downloadgcc-31aedc36c0234bfa1b6902e748032b9c49ed2f03.zip
gcc-31aedc36c0234bfa1b6902e748032b9c49ed2f03.tar.gz
gcc-31aedc36c0234bfa1b6902e748032b9c49ed2f03.tar.bz2
Revert patch for PR c++/16623.
From-SVN: r84942
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 75f7152..69f6d9e 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -2558,11 +2558,7 @@ add_implicitly_declared_members (tree t,
of the parameter to the assignment operator will be a const or
non-const reference. */
if (!TYPE_HAS_ASSIGN_REF (t) && !TYPE_FOR_JAVA (t))
- {
- TYPE_HAS_ASSIGN_REF (t) = 1;
- TYPE_HAS_CONST_ASSIGN_REF (t) = !cant_have_const_assignment;
- CLASSTYPE_LAZY_ASSIGNMENT_OP (t) = 1;
- }
+ TYPE_HAS_CONST_ASSIGN_REF (t) = !cant_have_const_assignment;
/* Now, hook all of the new functions on to TYPE_METHODS,
and add them to the CLASSTYPE_METHOD_VEC. */