1. 31 May, 2012 3 commits
    • ira-costs.c (copy_cost): Use ira_init_register_move_cost_if_necessary and… · bac1c6a4
      ira-costs.c (copy_cost): Use ira_init_register_move_cost_if_necessary and ira_register_move_cost instead...
      
      gcc/
      	* ira-costs.c (copy_cost): Use ira_init_register_move_cost_if_necessary
      	and ira_register_move_cost instead of init_move_cost and move_cost.
      
      From-SVN: r188042
      Richard Sandiford committed
    • ira.h (target_ira): Delete x_ira_available_class_regs. · f508f827
      gcc/
      	* ira.h (target_ira): Delete x_ira_available_class_regs.
      	(ira_available_class_regs): Delete.
      	* ira.c (setup_available_class_regs): Delete.
      	(setup_alloc_classes): Don't call it.
      	(setup_pressure_classes): Use ira_class_hard_regs_num instead of
      	ira_available_class_regs.
      	* haifa-sched.c (print_curr_reg_pressure, setup_insn_reg_pressure_info)
      	(model_spill_cost): Likewise.
      	* ira-build.c (low_pressure_loop_node_p): Likewise.
      	* ira-color.c (color_pass): Likewise.
      	* ira-emit.c (change_loop): Likewise.
      	* ira-lives.c (inc_register_pressure, dec_register_pressure)
      	(single_reg_class, ira_implicitly_set_insn_hard_regs)
      	(process_bb_node_lives): Likewise.
      	* loop-invariant.c (gain_for_invariant): Likewise.
      
      From-SVN: r188041
      Richard Sandiford committed
    • Daily bump. · 2e14fbda
      From-SVN: r188039
      GCC Administrator committed
  2. 30 May, 2012 18 commits
  3. 29 May, 2012 19 commits
    • re PR debug/53453 (darwin linker expects both AT_name and AT_comp_dir debug notes) · 638c962f
      2012-05-29  Jack Howarth  <howarth@bromo.med.uc.edu>
      
      	PR debug/53453
      	* doc/tm.texi: Update.
      	* doc/tm.texi.in (SDB and DWARF) <TARGET_FORCE_AT_COMP_DIR>: Add @hook.
      	* target.def (force_at_comp_dir): New hook.
      	* config/darwin.h (TARGET_FORCE_AT_COMP_DIR): Define.
      	* dwarf2out.c (dwarf2out_finish): Check targetm.force_at_comp_dir.
      
      From-SVN: r187994
      Jack Howarth committed
    • Oops, wrong changelog, this is the right one: · a8b4175c
      2012-05-29  Jack Howarth  <howarth@bromo.med.uc.edu>
      
      	    * config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when
      	    Darwin >= 10.
      	    (DARWIN_DYLIB1_SPEC): Do not use -ldylib1.10.5.o when Darwin >= 10.
      	    (DARWIN_CRT1_SPEC): Use -lcrt1.10.6.o when Darwin >= 10.
      
      From-SVN: r187993
      Jack Howarth committed
    • darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when Darwin >= 10. · 3127f133
      2012-05-29  Iain Sandoe  <iains@gcc.gnu.org>
      
      	    * config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when
      	    Darwin >= 10.
      	    (DARWIN_DYLIB1_SPEC): Do not use -ldylib1.10.5.o when Darwin >= 10.
      	    (DARWIN_CRT1_SPEC): Use -lcrt1.10.6.o when Darwin >= 10.
      
      From-SVN: r187992
      Jack Howarth committed
    • re PR target/51340 (SH Target: Make -mfused-madd enabled by default) · 2df2ce3f
      	PR target/51340
      	* config/sh/sh.c (sh_option_override): Set TARGET_FMAC if
      	flag_unsafe_math_optimizations is set.
      	* doc/invoke.texi (SH Options): Add -mno-fused-madd description.
      	Update description of -mfused-madd.
      
      	PR target/51340
      	* gcc.target/sh/pr51340-1.c: New.
      	* gcc.target/sh/pr51340-2.c: New.
      	* gcc.target/sh/pr51340-3.c: New.
      
      From-SVN: r187988
      Oleg Endo committed
    • re PR target/52941 (SH Target: Add support for movco.l / movli.l atomics on SH4A) · c11394f8
      	PR target/52941
      	* config/sh/predicates.md (atomic_arith_operand,
      	atomic_logical_operand): New predicates.
      	* config/sh/sh.c (sh_option_override): Check atomic options.
      	* config/sh/sh.h (TARGET_ANY_ATOMIC, UNSUPPORTED_ATOMIC_OPTIONS,
      	UNSUPPORTED_HARD_ATOMIC_CPU): New macros.
      	(DRIVER_SELF_SPECS): Use UNSUPPORTED_ATOMIC_OPTIONS and
      	UNSUPPORTED_HARD_ATOMIC_CPU.
      	* config/sh/sync.md: Update description comments.
      	(I12): New mode iterator.
      	(fetchop_predicate, fetchop_constraint): New code attributes.
      	(atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
      	atomic_exchangesi_hard, atomic_exchange<mode>_hard,
      	atomic_fetch_<fetchop_name>si_hard,
      	atomic_fetch_<fetchop_name><mode>_hard,
      	atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
      	atomic_<fetchop_name>_fetchsi_hard,
      	atomic_<fetchop_name>_fetch<mode>_hard,
      	atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
      	atomic_test_and_set_hard): New insns.
      	(atomic_compare_and_swap<mode>_soft, atomic_exchange<mode>_soft,
      	atomic_fetch_<fetchop_name><mode>_soft, atomic_fetch_nand<mode>_soft,
      	atomic_<fetchop_name>_fetch<mode>_soft, atomic_nand_fetch<mode>_soft,
      	atomic_test_and_set_soft): Use same formatting for the first line of
      	the asm block as in new insns above.
      	(atomic_compare_and_swap<mode>, atomic_exchange<mode>,
      	atomic_fetch_<fetchop_name><mode>, atomic_<fetchop_name>_fetch<mode>,
      	atomic_test_and_set): Integrate new *_hard insns into expanders.
      	* config/sh/sh.opt (mhard-atomic): New option.
      	* doc/invoke.texi (SH Options): Document it.
      
      From-SVN: r187987
      Oleg Endo committed
    • MAINTAINERS (Write After Approval): Add myself. · 556861b2
      2012-05-29  Edmar Wienskoski  <edmar@freescale.com>
      
      	*  MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r187986
      Edmar Wienskoski committed
    • 2012-05-29 François Dumont <fdumont@gcc.gnu.org> · 80a009e5
      	* include/bits/stl_tempbuf.h (__uninitialized_construct_buf)
      	(__uninitialized_construct_buf_dispatch<>::__ucr): Fix to work
      	with iterator returning rvalue.
      	* testsuite/25_algorithms/stable_sort/3.cc: New.
      
      From-SVN: r187985
      François Dumont committed
    • configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of gcc_AC_FUNC_MMAP_BLACKLIST. · 678abdd9
      fixincludes/
      	* configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of
      	gcc_AC_FUNC_MMAP_BLACKLIST.
      	* Makefile.in (ACLOCAL_AMFLAGS): Don't include ../gcc.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r187984
      Thomas Schwinge committed
    • * lto-plugin.c: Fix typo. · 3f417959
      From-SVN: r187982
      Joseph Myers committed
    • * mf-impl.h: Fix typo. · 4ac1dacf
      From-SVN: r187981
      Joseph Myers committed
    • * c-common.c: Fix typo. · 65de6659
      From-SVN: r187980
      Joseph Myers committed
    • c-decl.c (c_push_function_context): Always create a new language function. · d0421638
      2012-05-29  Meador Inge  <meadori@codesourcery.com>
      
      	* c-decl.c (c_push_function_context): Always create a new language
      	function.
      	(c_pop_function_context): Clear the language function created in
      	c_push_function_context.
      
      From-SVN: r187979
      Meador Inge committed
    • ev6.md: (define_bypass "ev6_fmul,ev6_fadd"): New. · 5e631e49
              * config/alpha/ev6.md: (define_bypass "ev6_fmul,ev6_fadd"): New.
              (define_bypass "ev6_fcmov"): New.
      
      From-SVN: r187978
      Matt Turner committed
    • mt-sde: Fix typos. · ca9d5dc6
      	* mt-sde: Fix typos.
      	* stdint.m4: Fix typos.
      	* tcl.m4: Fix typos.
      
      From-SVN: r187971
      Joseph Myers committed
    • integrate.c: Remove. · 6399c0ab
      	* integrate.c: Remove.
      	* integrate.h: Remove.
      	* Makefile.in: Remove make rules for integrate.c and INTEGRATE_H.
      	* config/arm/t-arm: Remove INTEGRATE_H dependency for target files.
      	* config/rs6000/t-rs6000: Likewise
      	* config/spu/t-spu-elf: Likewise.
      	* function.h (get_hard_reg_initial_val, has_hard_reg_initial_val,
      	get_hard_reg_initial_reg, emit_initial_value_sets): Move prototypes
      	from integrate.h to here.
      	(initial_value_entry): New prototype.
      	* reload.h (allocate_initial_values): Remove prototype.
      	* tree.h (set_decl_abstract_flags, set_decl_origin_self): Likewise.
      	* cse.c (fixed_base_plus_p): Don't handle virtual registers for
      	integrate.c.
      	* dwarf2out.c (set_decl_origin_self, set_block_origin_self,
      	set_decl_abstract_flags, set_block_abstract_flags): Move from
      	integrate.c to here, the only user.
      	* expmed.c (extract_fixed_bit_field): Remove outdated comment
      	about integrate.c.
      	* function.c: Don't include integrate.h.
      	(struct initial_value_pair, struct initial_value_struct,
      	get_hard_reg_initial_val, has_hard_reg_initial_val,
      	get_hard_reg_initial_reg, emit_initial_value_sets): Move from
      	integrate.c to here.
      	(initial_value_entry): New function.
      	* genemit.c (main): Don't print integrate.h include line.
      	* ira.c: Don't include integrate.h.
      	(allocate_initial_values): Move from integrate.c to here.
      	(ira): Update allocate_initial_values call.
      	* tree-inline.c: Don't include integrate.h.
      	(function_attribute_inlinable_p): Moved from integrate.c to here.
      	* cfgexpand.c: Don't include integrate.h.
      	* except.c: Likewise.
      	* langhooks.c: Likewise.
      	* passes.c: Likewise.
      	* toplev.c: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/epiphany/epiphany.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/score/score.c: Likewise.
      	* config/picochip/picochip.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/alpha/alpha.c: Likewise.
      	* config/microblaze/microblaze.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/v850/v850.c: Likewise.
      	* config/mmix/mmix.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/m32r/m32r.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/c6x/c6x.c: Include function.h instead of integrate.h.
      	* config/tilegx/tilegx.c: Likewise.
      	* config/tilepro/tilepro.c: Likewise.
      
      From-SVN: r187969
      Steven Bosscher committed
    • t-avr (s-avr-mmcu-texi): Call gen-avr-mmcu-texi$(build_exeext) via ./ and don't… · 030a9eb6
      t-avr (s-avr-mmcu-texi): Call gen-avr-mmcu-texi$(build_exeext) via ./ and don't assume . is in PATH.
      
      	* config/avr/t-avr (s-avr-mmcu-texi): Call 
      	gen-avr-mmcu-texi$(build_exeext) via ./ and don't assume . is in PATH.
      
      From-SVN: r187968
      Georg-Johann Lay committed
    • ieee754-df.S: Fix typos. · d8c9d391
      	* config/arm/ieee754-df.S: Fix typos.
      	* config/arm/ieee754-sf.S: Fix typos.
      	* config/c6x/libunwind.S: Fix typos.
      	* config/epiphany/udivsi3-float.c: Fix typos.
      	* config/microblaze/muldi3_hard.S: Fix typos.
      	* config/picochip/adddi3.S: Fix typos.
      	* config/picochip/ashlsi3.S: Fix typos.
      	* config/picochip/ashrsi3.S: Fix typos.
      	* config/picochip/clzsi2.S: Fix typos.
      	* config/picochip/cmpsi2.S: Fix typos.
      	* config/picochip/divmod15.S: Fix typos.
      	* config/picochip/divmodhi4.S: Fix typos.
      	* config/picochip/divmodsi4.S: Fix typos.
      	* config/picochip/longjmp.S: Fix typos.
      	* config/picochip/lshrsi3.S: Fix typos.
      	* config/picochip/parityhi2.S: Fix typos.
      	* config/picochip/popcounthi2.S: Fix typos.
      	* config/picochip/setjmp.S: Fix typos.
      	* config/picochip/subdi3.S: Fix typos.
      	* config/picochip/ucmpsi2.S: Fix typos.
      	* config/picochip/udivmodhi4.S: Fix typos.
      	* config/picochip/udivmodsi4.S: Fix typos.
      	* config/spu/divv2df3.c: Fix typos.
      	* config/spu/mfc_multi_tag_release.c: Fix typos.
      	* config/spu/mfc_tag_release.c: Fix typos.
      	* configure.ac: Fix typos.
      	* configure: Regenerate.
      
      From-SVN: r187967
      Joseph Myers committed
    • directives.c: Fix typos. · 7d9641cc
      	* directives.c: Fix typos.
      	* include/line-map.h: Fix typos.
      	* line-map.c: Fix typos.
      	* macro.c: Fix typos.
      
      From-SVN: r187966
      Joseph Myers committed
    • rtl.h (assign_stack_temp, [...]): Remove 'keep' argument. · 9474e8ab
      	* rtl.h (assign_stack_temp, assign_stack_temp_for_type,
      	assign_temp): Remove 'keep' argument.
      	(mark_temp_addr_taken): Remove prototype.
      	* tree.h (expand_decl): Remove prototype.
      	* function.c (struct temp_slot): Remove addr_taken and keep
      	member.
      	(assign_stack_temp_for_type) Don't initialize above, remove
      	keep argument.
      	(assign_stack_temp, assign_temp): Remove keep argument.
      	(mark_temp_addr_taken): Remove.
      	(preserve_temp_slots): Remove handling of addr_taken and keep
      	members.
      	(free_temp_slots): Ditto.
      	* expr.c (expand_expr_real_1 <COMPOUND_LITERAL_EXPR>): Remove
      	dead code.
      	* stmt.c (expand_asm_operands): Remove dead code.
      	(expand_decl): Remove.
      	* c-decl.c (finish_struct): Don't call expand_decl.
      	* builtins.c (expand_builtin_cexpi): Adjust calls to assign_temp
      	and assign_stack_temp.
      	* calls.c (save_fixed_argument_area, initialize_argument_information,
      	expand_call, emit_library_call_value_1, store_one_arg): Ditto.
      	* expmed.c (extract_bit_field_1): Ditto.
      	* expr.c (emit_group_load_1, emit_group_store,
      	copy_blkmode_from_reg, emit_push_insn, expand_assignment,
      	store_field, expand_constructor, expand_cond_expr_using_cmove,
      	expand_expr_real_2, expand_expr_real_1): Ditto.
      	* stmt.c (expand_asm_operands, expand_return): Ditto.
      
      	* function.c (pop_temp_slots): Call free_temp_slots.
      	* calls.c (store_one_arg): Don't call preserve_temp_slots or
      	free_temp_slots.
      	* expr.c (expand_assignment): Don't call free_temp_slots.
      
      	* config/arm/arm.c (neon_expand_vector_init): Ditto.
      	* config/i386/i386.c (ix86_expand_vector_set): Ditto.
      	(ix86_expand_vector_extract): Ditto.
      	* config/ia64/ia64.c (spill_xfmode_rfmode_operand,
      	ia64_expand_movxf_movrf): Ditto.
      	* config/mips/mips.c (mips_expand_vi_general): Ditto.
      	* config/mmix/mmix.md (floatdisf2, floatunsdisf2, truncdfsf2,
      	extendsfdf2): Ditto.
      	* config/rs6000/rs6000.c (rs6000_expand_vector_init,
      	rs6000_expand_vector_set, rs6000_expand_vector_extract,
      	rs6000_allocate_stack_temp): Ditto.
      	* config/rs6000/rs6000.md (fix_trunctfsi2_fprs): Ditto.
      	* config/sparc/sparc.c (emit_soft_tfmode_libcall,
      	sparc_emit_float_lib_cmp, sparc_emit_float_lib_cmp,
      	sparc_expand_vector_init): Ditto.
      
      From-SVN: r187965
      Michael Matz committed