This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/87: member template assignment operator


The following reply was made to PR c++/87; it has been noted by GNATS.

From: nathan@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  jaakko.jarvi@cs.utu.fi, martin@loewis.home.cs.tu-berlin.de,
  nathan@gcc.gnu.org
Cc:  
Subject: Re: c++/87: member template assignment operator
Date: 9 Dec 2001 16:38:49 -0000

 Synopsis: member template assignment operator
 
 State-Changed-From-To: analyzed->closed
 State-Changed-By: nathan
 State-Changed-When: Sun Dec  9 08:38:48 2001
 State-Changed-Why:
     2001-12-04  Nathan Sidwell  <nathan@codesourcery.com>
     
     	PR g++/87
     	* cp-tree.h (DECL_COPY_CONSTRUCTOR_P): Use copy_fn_p.
     	(copy_args_p): Rename to ...
     	(copy_fn_p): ... here.
     	(grok_special_member_properties): New function.
     	(grok_op_properties): Lose VIRTUALP parameter.
     	(copy_assignment_arg_p): Remove.
     	* call.c (build_over_call): Use copy_fn_p.
     	* decl.c (grokfndecl): Reformat. Adjust call to
     	grok_op_properties.
     	(copy_args_p): Rename to ...
     	(copy_fn_p): ... here. Reject template functions. Check for pass
     	by value.
     	(grok_special_member_properties): Remember special functions.
     	(grok_ctor_properties): Don't remember them here, just check.
     	(grok_op_properties): Likewise.
     	(start_method): Call grok_special_member_properties.
     	* decl2.c (grokfield): Likewise.
     	(copy_assignment_arg_p): Remove.
     	(grok_function_init): Don't remember abstract assignment here.
     	* pt.c (instantiate_class_template): Call
     	grok_special_member_properties.
     	(tsubst_decl): Adjust grok_op_properties call.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=87&database=gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]