- 31 May, 2012 12 commits
-
-
* doc/invoke.texi (AVR Options): Fix typos. From-SVN: r188053
Georg-Johann Lay committed -
* gcc.target/cris/asm-v8.S, gcc.target/cris/asm-v10.S, gcc.target/cris/asm-other.S, gcc.target/cris/inasm-v8.c, gcc.target/cris/inasm-v10.c, gcc.target/cris/inasm-other.c: New tests. From-SVN: r188052
Hans-Peter Nilsson committed -
* config/cris/cris.h (CC1_SPEC): Pass through all -march= and -mcpu= options. (ASM_SPEC): Ditto, not just -march=v32, but translate non-v10, non-v32 into --march=v0_v0_v10. From-SVN: r188051
Hans-Peter Nilsson committed -
2012-05-31 Tobias Burnus <burnus@net-b.de> Revert: 2012-05-16 Tobias Burnus <burnus@net-b.de> * io/unix.c (tempfile_open): Pass mode to "open" for O_CREAT. From-SVN: r188048
Tobias Burnus committed -
gcc/ * ira-int.h (target_ira_int): Rename x_move_cost to x_ira_register_move_cost, x_may_move_in_cost to x_ira_may_move_in_cost and x_may_move_out_cost to x_ira_may_move_out_cost. Delete the old fields with those names and also x_ira_max_register_move_cost, x_ira_max_may_move_in_cost and x_ira_max_may_move_out_cost. (move_cost, may_move_in_cost, may_move_out_cost) (ira_max_register_move_cost, ira_max_may_move_in_cost) (ira_max_may_move_out_cost): Delete. * ira.c (init_move_cost): Rename to... (ira_init_register_move_cost): ...this, deleting the old function with that name. Apply above variable renamings. Retain asserts for null fields. (ira_init_once): Don't initialize register move costs here. (free_register_move_costs): Apply above variable renamings. Remove code for deleted fields. From-SVN: r188047
Richard Sandiford committed -
ira.c (init_move_cost): Adjust choice of subclasses to match the current ira_init_register_move_cost choice. gcc/ * ira.c (init_move_cost): Adjust choice of subclasses to match the current ira_init_register_move_cost choice. Use ira_class_subset_p instead of reg_class_subset_p. (ira_init_register_move_cost): Assert that move_cost, may_move_in_cost and may_move_out_cost already hold the desired values for their ira_* equivalents. For the latter two, ignore classes that can't store a register of the given mode. From-SVN: r188046
Richard Sandiford committed -
ira.c (setup_allocno_and_important_classes): Use ira_class_hard_regs_num to check whether a class has any allocatable registers. gcc/ * ira.c (setup_allocno_and_important_classes): Use ira_class_hard_regs_num to check whether a class has any allocatable registers. (ira_init_register_move_cost): Likewise. From-SVN: r188045
Richard Sandiford committed -
gcc/ * ira.c (init_move_cost): Adjust local variable names to match file conventions. Use ira_assert instead of gcc_assert. From-SVN: r188044
Richard Sandiford committed -
gcc/ * regs.h (move_table, move_cost, may_move_in_cost, may_move_out_cost): Move these definitions and associated target_globals fields to... * ira-int.h: ...here. * rtl.h (init_move_cost): Delete. * reginfo.c (last_mode_for_init_move_cost, init_move_cost): Move to... * ira.c: ...here, making the latter static. From-SVN: r188043
Richard Sandiford committed -
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 10 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
-