1. 06 Oct, 2008 9 commits
    • invoke.texi: List r1x000 family under the -march MIPS option. · 7a3446ec
      gcc/
      2008-10-06  Joshua Kinard  <kumba@gentoo.org>
      
      	* doc/invoke.texi: List r1x000 family under the -march MIPS option.
      	* config/mips/mips.h (PROCESSOR_R10000): New processor_type.
      	* config/mips/mips.c (mips_cpu_info_table): Add r10000, r12000,
      	r14000 and r16000.
      	(mips_rtx_cost_data): Add a PROCESSOR_R10000 entry.
      	(mips_issue_rate): Handle PROCESSOR_R10000.
      	* config/mips/mips.md (cpu): Add r10000.
      	Include r10000.md.
      	* config/mips/10000.md: New file.
      
      From-SVN: r140913
      Joshua Kinard committed
    • rs6000-protos.h (rs6000_find_base_term): Declare. · 944258eb
      gcc/
      	* config/rs6000/rs6000-protos.h (rs6000_find_base_term): Declare.
      	* config/rs6000/rs6000.h (FIND_BASE_TERM): New macro.
      	* config/rs6000/rs6000.c (rs6000_find_base_term): New function.
      
      From-SVN: r140912
      Richard Sandiford committed
    • darwin-protos.h (machopic_function_base_name): Delete. · 08a6a74b
      gcc/
      	* config/darwin-protos.h (machopic_function_base_name): Delete.
      	(machopic_function_base_sym): Likewise.
      	(machopic_gen_offset): Declare.
      	* config/darwin.h (MACHOPIC_FUNCTION_BASE_NAME): New macro.
      	(ASM_OUTPUT_LABELREF): Use it instead of a hard-coded string constant.
      	* config/darwin.c (machopic_function_base_name): Delete.
      	(machopic_function_base_sym): Likewise.
      	(gen_pic_offset): Rename to...
      	(machopic_gen_offset): ...this and remove the pic_base argument.
      	Instead use MACHO_DYNAMIC_NO_PIC_P to decide whether a PIC offset
      	is needed.  Create an UNSPEC_MACHOPIC_OFFSET if so, and set
      	crtl->uses_pic_offset_table.
      	(machopic_indirect_data_reference): Use new machopic_gen_offset
      	interface.
      	(machopic_legitimize_pic_address): Likewise.
      	(machopic_operand_p): Check for UNSPEC_MACHOPIC_OFFSET.
      
      	* config/i386/darwin.h (GOT_SYMBOL_NAME): Use
      	MACHOPIC_FUNCTION_BASE_NAME instead of machopic_function_base_name.
      	* config/i386/i386.c (output_set_got): Likewise.
      	(darwin_local_data_pic): Check for an UNSPEC_MACHOPIC_OFFSET
      	instead of a MINUS.
      	(legitimate_pic_operand_p): Handle UNSPEC_MACHOPIC_OFFSET.
      	(legitimate_address_p): Likewise.
      	(output_pic_addr_const): Likewise.
      	(output_addr_const_extra): Likewise.
      	(ix86_delegitimize_address): Expect darwin_local_data_pic to
      	match an UNSPEC rather than a MINUS.
      	* config/i386/i386.md (UNSPEC_MACHOPIC_OFFSET): Define.
      	(builtin_setjmp_receiver): Use machopic_gen_offset.
      	* config/i386/predicates.md (pic_symbolic_operand): Handle
      	UNSPEC_MACHOPIC_OFFSET.
      
      	* config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
      	Use machopic_gen_offset and machopic_operand_p.
      	(rs6000_output_addr_const_extra): Handle UNSPEC_MACHOPIC_OFFSET.
      	(rs6000_emit_prologue): Use MACHOPIC_FUNCTION_BASE_NAME.
      	* config/rs6000/rs6000.md (UNSPEC_MACHOPIC_OFFSET): Define.
      	(builtin_setjmp_receiver): Use MACHOPIC_FUNCTION_BASE_NAME.
      	Set crtl->uses_pic_offset_table.
      
      From-SVN: r140911
      Richard Sandiford committed
    • rs6000-protos.h (rs6000_output_addr_const_extra): Declare. · 2e4316da
      gcc/
      	* config/rs6000/rs6000-protos.h (rs6000_output_addr_const_extra):
      	Declare.
      	* config/rs6000/rs6000.h (OUTPUT_ADDR_CONST_EXTRA): New macro.
      	* config/rs6000/rs6000.md (UNSPEC_TOCREL): New constant.
      	* config/rs6000/rs6000.c (constant_pool_expr_1): Delete.
      	(constant_pool_expr_p): Use split_const and check the base.
      	(toc_relative_expr_p): Likewise, checking for an UNSPEC_TOCREL
      	instead of a MINUS.
      	(legitimate_constant_pool_address_p): Check toc_relative_p
      	instead of constant_pool_expr_p.
      	(print_operand_address): Always use output_addr_const for
      	constant pool addresses.
      	(rs6000_output_addr_const_extra): New function.
      	(create_TOC_reference): Create an UNSPEC_TOCREL instead of
      	a MINUS.
      
      From-SVN: r140910
      Richard Sandiford committed
    • re PR middle-end/37535 (gcc/libgcc2.c:404: internal compiler error: Floating point exception) · 3517d3a0
      2008-10-06  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/37535
      
      	* ira-lives.c (mark_reg_live, mark_reg_dead): New functions.
      	(mark_ref_live, mark_ref_dead): Use them.
      	(def_conflicts_with_inputs_p): Remove.
      	(mark_early_clobbers): New function.
      	(process_bb_node_lives): Call preprocess_constraints and
      	mark_early_clobbers.
      
      	* doc/rtx.texi (clobber): Change how RA deals with clobbers.
      
      From-SVN: r140906
      Vladimir Makarov committed
    • decl.c (gnat_to_gnu_entity): Minor tweaks. · e84319a3
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Minor tweaks.
      	* gcc-interface/trans.c (Pragma_to_gnu): Likewise.
      
      From-SVN: r140904
      Eric Botcazou committed
    • utils.c (can_fold_for_view_convert_p): New predicate. · afcea859
      2008-10-06  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* gcc-interface/utils.c (can_fold_for_view_convert_p): New predicate.
      	(unchecked_convert): Use it to disable problematic folding with
      	VIEW_CONVERT_EXPR in the general case.  Always disable it for the
      	special VIEW_CONVERT_EXPR built for integral types and cope with
      	its addressability issues by preserving the first conversion.
      
      From-SVN: r140902
      Eric Botcazou committed
    • mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup lib with -mthread switch. · de27a12c
      	* config/i386/mingw32.h (REAL_LIBGCC_SPEC): Add thread cleanup
      	lib with -mthread switch.
      
      From-SVN: r140900
      Danny Smith committed
    • Daily bump. · 7786007c
      From-SVN: r140898
      GCC Administrator committed
  2. 05 Oct, 2008 8 commits
    • re PR debug/37410 (DW_TAG_imported_module is not in its DW_TAG_lexical_block) · d19c0f4b
      2008-09-30  Dodji Seketeli  <dodji@redhat.com>
      gcc/ChangeLog:
      
      	PR c++/37410
      	* dwarf2out.c (dwarf2out_imported_module_or_decl): Split this
      	  function in two, making it call a new and reusable
      	  dwarf2out_imported_module_or_decl() that takes the containing
      	  BLOCK of the declaration in argument.
      	  (dwarf2out_imported_module_or_decl_real): New function.
      	  (decls_for_scope, gen_decl_die, dwarf2out_decl): Take
      	  IMPORTED_DECL in account.
      	* tree.def: Added IMPORTED_DECL node type.
      	* tree.h: Added accessors for IMPORTED_DECL nodes.
      	* tree.c (init_ttree): Initialise IMPORTED_DECL node type.
      
      gcc/cp/ChangeLog:
      
      	PR c++/37410
      	* cp-gimplify.c (cp_gimplify_expr): For each USING_STMT
      	  make sure an IMPORTED_DECL node is added to the BLOCK_VARS list
      	  of the innermost containing BLOCK.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/37410
      	* g++.dg/debug/dwarf2/imported-module.C: New test.
      
      From-SVN: r140895
      Dodji Seketeli committed
    • re PR fortran/35680 (ICE on invalid transfer in variable declaration) · ebb479cd
      2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/35680
      	* gfortran.h : Add 'error' bit field to gfc_expr structure.
      	* expr.c (check_inquiry): When checking a restricted expression
      	check that arguments are either variables or restricted.
      	(check_restricted): Do not emit error if the expression has
      	'error' set.  Clean up detection of host-associated variable.
      
      2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/35680
      	* gfortran.dg/transfer_array_intrinsic_5.f90: New test.
      
      From-SVN: r140892
      Paul Thomas committed
    • gimple.texi: Fix some typos, wrap some long lines, fix some broken wraps with continuations. · 1d72ff1a
      gcc/
      	* doc/gimple.texi: Fix some typos, wrap some long lines,
      	fix some broken wraps with continuations.
      	* tree-ssa-reassoc.c: Fix comment typos.
      
      From-SVN: r140887
      Ralf Wildenhues committed
    • cpplib.h (cpp_comments, [...]): New structs. · 631d0d36
      2008-10-05  Matthew Gingell  <gingell@adacore.com>
      	    Arnaud Charlet  <charlet@adacore.com>
      
      	* include/cpplib.h (cpp_comments, cpp_comment_table): New structs.
      	(cpp_get_comments): New function.
      	* internal.h (struct cpp_reader): Add comments field.
      	* init.c (cpp_destroy): Free comments.
      	* lex.c (store_comment, cpp_get_comments): New functions.
      	(comments): New struct.
      	(save_comment): Store comments in comments struct.
      
      Co-Authored-By: Arnaud Charlet <charlet@adacore.com>
      
      From-SVN: r140883
      Matthew Gingell committed
    • invoke.cc: New. · 7a90b0ca
      2008-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/20_util/reference_wrapper/invoke.cc: New.
      	* testsuite/20_util/reference_wrapper/24803.cc: Likewise.
      	* testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
      
      From-SVN: r140882
      Paolo Carlini committed
    • re PR fortran/37638 (ICE in update_arglist_pass) · b82657f4
      2008-10-05  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/37638
      	* gfortran.h (struct gfc_typebound_proc): New flag `error'.
      	* resolve.c (update_arglist_pass): Added assertion.
      	(update_compcall_arglist): Fail early for erraneous procedures to avoid
      	confusion later.
      	(resolve_typebound_generic_call): Ignore erraneous specific targets
      	and added assertions.
      	(resolve_typebound_procedure): Set new `error' flag.
      
      2008-10-05  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/37638
      	* gfortran.dg/typebound_call_9.f03: New test.
      
      From-SVN: r140880
      Daniel Kraft committed
    • re PR fortran/37706 (ICE with use only and equivalent) · ee9ef103
      2008-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/37706
      	* module.c (load_equiv): Check the module before negating the
      	unused flag.
      
      2008-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/37706
      	* gfortran.dg/module_equivalence_4.f90: New test.
      
      From-SVN: r140879
      Paul Thomas committed
    • Daily bump. · 7f23df4e
      From-SVN: r140877
      GCC Administrator committed
  3. 04 Oct, 2008 5 commits
  4. 03 Oct, 2008 9 commits
  5. 02 Oct, 2008 9 commits