- 31 May, 2012 3 commits
-
-
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 -
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 -
From-SVN: r188039
GCC Administrator committed
-
- 30 May, 2012 18 commits
-
-
From-SVN: r188033
Ian Lance Taylor committed -
2012-05-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR target/52999 * config/pa/pa.c (TARGET_SECTION_TYPE_FLAGS): Define. (pa_section_type_flags): New. (pa_legitimate_constant_p): Revert previous change. From-SVN: r188031
John David Anglin committed -
PR c++/53356 * tree.c (stabilize_init): Handle stabilizing a TARGET_EXPR representing a bitwise copy of a glvalue. From-SVN: r188029
Jason Merrill committed -
From-SVN: r188028
Jason Merrill committed -
From-SVN: r188025
Steven Bosscher committed -
2012-05-30 Tobias Burnus <burnus@net-b.de> PR c/53502 * decl.c (match_attr_spec): Remove "typedef". From-SVN: r188024
Tobias Burnus committed -
* config/i386/i386.c (legitimize_tls_address) <TLS_MODEL_INITIAL_EXEC>: Generate tls_initial_exec_64_sun only when !TARGET_X32. From-SVN: r188022
Uros Bizjak committed -
PR c++/53356 * tree.c (stabilize_init): Side effects make the init unstable. From-SVN: r188019
Jason Merrill committed -
2012-05-30 Richard Guenther <rguenther@suse.de> PR middle-end/53501 * fold-const.c (fold_binary_loc): Make sure to call fold_plusminus_mult_expr with the original sign of operands. * gcc.dg/torture/pr53501.c: New testcase. * c-c++-common/restrict-2.c: Adjust. From-SVN: r188009
Richard Guenther committed -
* gcc.target/powerpc/powerpc.exp: Load torture-options.exp, call torture-finish. From-SVN: r188008
Alan Modra committed -
* Makefile.in: Fix many dependencies. (DWARF2_H): Depend on dwarf2.def. (RTL_ERROR_H): Depend on rtl-error.h. (TREE_PRETTY_PRINT_H, GIMPLE_PRETTY_PRINT_H): New. Replace all gimple-pretty-print.h and tree-pretty-print.h references. From-SVN: r188007
Steven Bosscher committed -
2012-05-30 Marc Glisse <marc.glisse@inria.fr> gcc/ * simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle of concatenations. gcc/testsuite/ * gcc.target/i386/shuf-concat.c: New test. From-SVN: r188006
Marc Glisse committed -
2012-05-30 Richard Guenther <rguenther@suse.de> PR middle-end/53522 * tree-emutls.c (gen_emutls_addr): Do not add globals to referenced-vars. From-SVN: r188005
Richard Guenther committed -
* explow.c (probe_stack_range): Restore simple control flow and stop again when the probe cannot be generated if HAVE_check_stack. From-SVN: r188003
Eric Botcazou committed -
PR rtl-optimization/53519 * combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR. * gcc.c-torture/compile/pr53519.c: New test. From-SVN: r188001
Jakub Jelinek committed -
2012-05-30 Tobias Burnus <burnus@net-b.de> * decl.c: Fix comment typos. * expr.c: Ditto. * frontend-passes.c: Ditto. * match.c: Ditto. * resolve.c: Ditto. * trans-array.c: Ditto. * trans-common.c: Ditto. * trans-intrinsic.c: Ditto. * trans-types.c: Ditto. 2012-05-30 Tobias Burnus <burnus@net-b.de> * io/io.h: Fix comment typos. * io/list_read.c: Ditto. From-SVN: r188000
Tobias Burnus committed -
2012-05-30 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> * config/arm/arm.c (arm_evpc_neon_vrev): Adjust off by one error. 2012-05-30 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> * gcc.target/arm/neon-vrev.c: New. From-SVN: r187999
Ramana Radhakrishnan committed -
From-SVN: r187998
GCC Administrator committed
-
- 29 May, 2012 19 commits
-
-
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 -
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 -
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 -
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 -
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 -
2012-05-29 Edmar Wienskoski <edmar@freescale.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r187986
Edmar Wienskoski committed -
* 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 -
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 -
From-SVN: r187982
Joseph Myers committed -
From-SVN: r187981
Joseph Myers committed -
From-SVN: r187980
Joseph Myers committed -
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 -
* 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. * stdint.m4: Fix typos. * tcl.m4: Fix typos. From-SVN: r187971
Joseph Myers committed -
* 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 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 -
* 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. * 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, 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
-