This is the mail archive of the gcc-bugs@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++/9978: [3.4 regression] Rejects valid constant expression


Synopsis: [3.4 regression] Rejects valid constant expression

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Mon Mar 24 17:47:39 2003
State-Changed-Why:
    2003-03-22  Nathan Sidwell  <nathan at codesourcery dot com>
    
    	PR c++/9978, c++/9708
    	* cp-tree.h (instantiate_template): Add tsubst_flags parameter.
    	* call.c (add_template_candidate_real): Adjust
    	instantiate_template call.
    	* class.c (resolve_address_of_overloaded_function): Likewise.
    	* decl.c (build_enumerator): Set TREE_CONSTANT.
    	* pt.c (check_instantiated_args): New.
    	(push_inline_template_parms_recursive): Set TREE_CONSTANT,
    	TREE_READONLY.
    	(build_template_parm_index): Copy TREE_CONSTANT, TREE_READONLY.
    	(reduce_template_parm_level): Likewise.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9978


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