1. 26 Aug, 2006 6 commits
    • re PR c++/28588 (static private function) · eff3a276
      	PR c++/28588
      	* class.c (resolve_address_of_overloaded_function): Add
      	access_path parameter.  Perform access checks.
      	(instantiate_type): Adjust call to
      	resolve_address_of_overloaded_function.  Remove unnecessary code.
      	* tree.c (is_overloaded_fn): Document.  Return 2 when there are
      	acutally multiple functions.
      	(really_overloaded_fn): Use is_overloaded_fn.
      	* mangle.c (write_expression): Handle BASELINKs.
      	* cp-tree.h (really_overloaded_fn): Return bool.
      	(baselink_for_fns): Declare.
      	* search.c (lookup_member): Check access for single static
      	functions here.
      	* pt.c (convert_nontype_argument_function): Handle BASELINKs.
      	(tsubst_copy_and_build): Generate BASELINKs for template-ids.
      	* semantics.c (finish_call_expr): Use baselink_for_fns.
      	(baselink_for_fns): New function.
      	(finish_id_expression): Use it.
      	* parser.c (cp_parser_template_argument): Don't strip BASELINKs.
      	PR c++/28595
      	* pt.c (tsubst): Issue errors about attempts to create VLAs at
      	template-instantiation time.
      	PR c++/28588
      	* g++.dg/inherit/access6.C: New test.
      	* g++.dg/inherit/access7.C: Likewise.
      	PR c++/28595
      	* g++.dg/template/array15.C: New test.
      	* g++.dg/template/crash2.C: Tweak error markers.
      
      From-SVN: r116468
      Mark Mitchell committed
    • re PR middle-end/28683 (ICE (segfault in add_reg_br_prob_note) when comparing… · fa1ff4eb
      re PR middle-end/28683 (ICE (segfault in add_reg_br_prob_note) when comparing pointers with -O (and higher))
      
      	PR middle-end/28683
      	* cfgexpand.c (add_reg_br_prob_note): Check if last has exactly
      	3 following insns.
      
      	* gcc.c-torture/compile/20060823-1.c: New test.
      
      From-SVN: r116467
      Jakub Jelinek committed
    • re PR c++/28853 (ICE on invalid declaration with template template parameter) · 7acf7efa
      	PR c++/28853
      	* typeck2.c (cxx_incomplete_type_diagnostic): Handle template
      	template parameters.  Improve error message for template type
      	parameters.
      
      	* g++.dg/template/ttp21.C: New test.
      
      From-SVN: r116464
      Volker Reichelt committed
    • re PR c++/28852 (ICE on invalid conversion operator) · 398cd199
      	PR c++/28852
      	* cp-tree.h (grok_op_properties): Return bool instead of void.
      	* decl.c (grokfndecl): Discard invalid operator declarations.
      	(copy_fn_p): Revert change for PR 27547.
      	(grok_op_properties): Return error status (true on success).
      	* pt.c (tsubst_decl): Discard invalid operator declarations.
      
      	* g++.dg/other/operator1.C: Add error-marker.
      	* g++.dg/other/operator2.C: New test.
      
      From-SVN: r116463
      Volker Reichelt committed
    • Daily bump. · b30409da
      From-SVN: r116460
      GCC Administrator committed
    • flow.c (verify_wide_reg): Use internal_error for consistency failure. · 75a83c65
      	* flow.c (verify_wide_reg): Use internal_error for consistency failure.
      	(verify_local_live_at_start): Likewise.
      
      From-SVN: r116455
      Volker Reichelt committed
  2. 25 Aug, 2006 20 commits
  3. 24 Aug, 2006 10 commits
  4. 23 Aug, 2006 4 commits