1. 27 Aug, 2006 7 commits
  2. 26 Aug, 2006 16 commits
    • tree.h (CASE_LOW_SEEN, [...]): New macros for manipulating temporary visit flags… · c782c2fe
      tree.h (CASE_LOW_SEEN, [...]): New macros for manipulating temporary visit flags on CASE_LABEL_EXPRs.
      
      
      	* tree.h (CASE_LOW_SEEN, CASE_HIGH_SEEN): New macros for manipulating
      	temporary visit flags on CASE_LABEL_EXPRs.
      	* c-common.c (match_case_to_enum): Add function comment.  Avoid
      	O(N) loop, by looking up both CASE_LOW_SEEN and CASE_HIGH_SEEN.
      	(c_do_switch_warnings):  Reorganize to record CASE_LOW_SEEN and
      	CASE_HIGH_SEEN for enumerated types.  If the switch expression is
      	a constant, only warn if that constant value isn't handled.
      
      	* gcc.dg/Wswitch-enum-2.c: New test case.
      	* gcc.dg/Wswitch-enum-3.c: Likewise.
      
      From-SVN: r116481
      Roger Sayle committed
    • arith.h: Update Copyright dates. · 52ccd577
      2006-08-26  Steven G. Kargl  <kargls@comcast.net>
      
      	* arith.h: Update Copyright dates.  Fix whitespace.
      	* arith.c: Update Copyright dates.  Fix whitespace.  Fix comments.
      	(gfc_arith_done_1): Clean up pedantic_min_int and subnormal.
      
      From-SVN: r116480
      Steven G. Kargl committed
    • re PR c++/24009 (C++ fails to print #include stack) · 02ec74b9
      	PR c++/24009
      	* input.h (restore_input_file_stack): Declare.
      	(INPUT_FILE_STACK_BITS): Define.
      	* toplev.c (fs_p, input_file_stack_history,
      	input_file_stack_restored, restore_input_file_stack): New.
      	(push_srcloc, pop_srcloc): Check for input_file_stack_tick
      	overflowing INPUT_FILE_STACK_BITS bits.  Save new state of stack.
      	(pop_srcloc): Don't free old state of stack.
      
      cp:
      	* parser.c (struct cp_token): Add input_file_stack_index.
      	(eof_token): Update.
      	(cp_lexer_get_preprocessor_token): Save input_file_stack_tick.
      	(cp_lexer_set_source_position_from_token): Restore input file
      	stack.
      
      From-SVN: r116479
      Joseph Myers committed
    • re PR target/27544 (attribute altivec is not documented) · 63d0dca4
              PR target/27544
              * doc/extend.texi (PowerPC Variable Attributes): Mention altivec.
              (PowerPC Type Attributes): New.
      
      From-SVN: r116478
      David Edelsohn committed
    • 20060826-1.c: New testcase. · ec6aa500
      2006-08-26  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.c-torture/compile/20060826-1.c: New testcase.
      
      From-SVN: r116477
      Richard Guenther committed
    • re PR libgomp/25938 (libgomp installs header files in version and target independent location) · 571d5ac5
      	PR libgomp/25938
      	* Makefile.am (libsubincludedir): New.
      	(nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
      	* Makefile.in: Regenerate.
      
      From-SVN: r116475
      Joseph Myers committed
    • re PR c++/28736 (ICE with friend of invalid template class) · 0f67a82f
              PR c++/28736
              PR c++/28737
              PR c++/28738
              * pt.c (process_template_parm): Store invalid template
              parameters as a TREE_LIST with a TREE_VALUE of error_mark_node.
              (push_inline_template_parms_recursive): Check for template
              parameters having a TREE_VALUE of error_mark_node rather than
              check the parameter itself.
              (mangle_class_name_for_template): Likewise.
              (comp_template_parms): When comparing the individual template
              parameters, return 1 if either is error_mark_node.
              (current_template_args): Robustify.
              (redeclare_class_template): Likewise.
      
              * g++.dg/template/void10.C: New test.
              * g++.dg/template/void8.C: New test.
              * g++.dg/template/void9.C: New test.
      
              * g++.dg/template/void3.C: Adjust error markers.
              * g++.dg/template/void4.C: Likewise.
              * g++.dg/template/crash55.C: Likewise.
              * g++.dg/template/void7.C: Likewise.
      
      From-SVN: r116473
      Lee Millward committed
    • gfortran.texi: Note variable initialization causes SAVE attribute. · 9618502b
      2006-08-26  Tobias Burnus  <burnus@net-b.de>
      
          * gfortran.texi: Note variable initialization causes SAVE attribute.   
          * intrinsic.texi: Clarify support for KIND=16 and KIND=10.
          Mention -std=f2003.  Cross reference INQUIRE from ACCESS intrinsic.
          Add missing ) in ACOS.
      
      From-SVN: r116472
      Steven G. Kargl committed
    • intrinsic.texi: Update Copyright date. · fe284266
      2006-08-26  Daniel Franke <franke.daniel@gmail.com>
      
              * intrinsic.texi: Update Copyright date.  Added documentation
              for ACOSH, AND, ASINH, ATANH, CHDIR, FGET, FGETC, FPUT, FPUTC,
              GETCWD, OR and XOR intrinsics, removed inadvertently introduced
              doc-stubs for EQV and NEQV, corrected some typographical errors.
      
      From-SVN: r116470
      Daniel Franke committed
    • xtensa.c (function_arg_boundary): New. · d2348985
      	* config/xtensa/xtensa.c (function_arg_boundary): New.
      	(function_arg, xtensa_gimplify_va_arg_expr): Limit alignment to 
      	STACK_BOUNDARY.
      	* config/xtensa/xtensa.h (FUNCTION_ARG_BOUNDARY): Move code to new
      	function_arg_boundary function that limits alignment to STACK_BOUNDARY.
      
      From-SVN: r116469
      Bob Wilson committed
    • 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
  3. 25 Aug, 2006 17 commits