- 20 Jun, 2014 7 commits
-
-
2014-06-20 Tom de Vries <tom@codesourcery.com> * final.c (collect_fn_hard_reg_usage): Add and use variable function_used_regs. From-SVN: r211839
Tom de Vries committed -
* cgraph.h (struct symtab_node): Add field in_init_priority_hash (set_init_priority, get_init_priority, set_fini_priority, get_fini_priority): New methods. * tree.c (init_priority_for_decl): Remove. (init_ttree): Do not initialize init priority. (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite. (decl_priority_info): Remove. (decl_init_priority_insert): Rewrite. (decl_fini_priority_insert): Rewrite. * tree.h (tree_priority_map_eq, tree_priority_map_hash, tree_priority_map_marked_p): Remove. * lto-cgraph.c (lto_output_node, input_node): Stream init priorities. * lto-streamer-out.c (hash_tree): Do not hash priorities. * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do not output priorities. (pack_ts_function_decl_value_fields): Likewise. * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do not input priorities. (unpack_ts_function_decl_value_fields): Likewise. * symtab.c (symbol_priority_map): Declare. (init_priority_hash): Declare. (symtab_unregister_node): Unregister from priority hash, too. (symtab_node::get_init_priority, cgraph_node::get_fini_priority): New methods. (symbol_priority_map_eq, symbol_priority_map_hash): New functions. (symbol_priority_info): New function. (symtab_node::set_init_priority, cgraph_node::set_fini_priority): New methods. * tree-core.h (tree_priority_map): Remove. * lto.c (compare_tree_sccs_1): Do not compare priorities. From-SVN: r211838
Jan Hubicka committed -
* tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast 0xff to uint64_t before shifting it up. From-SVN: r211837
Jakub Jelinek committed -
2014-06-20 Julian Brown <julian@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> * config/arm/arm.c (arm_output_mi_thunk): Fix offset for TARGET_THUMB1_ONLY. Add comments. Co-Authored-By: Chung-Lin Tang <cltang@codesourcery.com> From-SVN: r211834
Julian Brown committed -
2014-06-20 Tobias Burnus <burnus@net-b.de> PR testsuite/61567 * gfortran.dg/coarray_collectives_5.f90: Update dg-final scan-tree-dump-times. * gfortran.dg/coarray_collectives_6.f90: Ditto. From-SVN: r211833
Tobias Burnus committed -
c-family/ChangeLog 2014-06-20 Hale Wang <hale.wang@arm.com> PR lto/61123 * c.opt (fshort-enums): Add to LTO. * c.opt (fshort-wchar): Likewise. testsuite/ChangeLog 2014-06-20 Hale Wang <hale.wang@arm.com> * gcc.target/arm/lto/: New folder to verify the LTO option. * gcc.target/arm/lto/pr61123-enum-size_0.c: New test case. * gcc.target/arm/lto/pr61123-enum-size_1.c: Likewise. * gcc.target/arm/lto/lto.exp: New exp file used to test LTO option. * lib/lto.exp (object-readelf): New procedure. From-SVN: r211832
Hale Wang committed -
From-SVN: r211831
GCC Administrator committed
-
- 19 Jun, 2014 8 commits
-
-
2014-06-19 Tom de Vries <tom@codesourcery.com> * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change return type to void. * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same. From-SVN: r211823
Tom de Vries committed -
PR fortran/61454 * expr.c (scalarize_intrinsic_call): Take care of optional arguments. * gfortran.dg/pr61454.f90: New file. From-SVN: r211822
Francois-Xavier Coudert committed -
PR c++/59296 * call.c (add_function_candidate): Also set LOOKUP_NO_TEMP_BIND. From-SVN: r211821
Jason Merrill committed -
2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org> * loop-invariant.c (get_inv_cost): Skip invariants, which are marked as "move", from depends_on. From-SVN: r211818
Zhenqiang Chen committed -
gcc/ChangeLog: 2014-06-19 Terry Guo <terry.guo@arm.com> * config/arm/thumb1.md (define_split): Split 64bit constant in earlier stage. gcc/testsuite/ChangeLog: 2014-06-19 Terry Guo <terry.guo@arm.com> * gcc.target/arm/thumb1-load-64bit-constant-1.c: New test. * gcc.target/arm/thumb1-load-64bit-constant-2.c: Ditto. * gcc.target/arm/thumb1-load-64bit-constant-3.c: Ditto. From-SVN: r211817
Terry Guo committed -
gcc/fortran/ 2014-06-19 Tobias Burnus <burnus@net-b.de> * trans-intrinsic.c (conv_co_minmaxsum): Fix argument passing. gcc/testsuite/ 2014-06-19 Tobias Burnus <burnus@net-b.de> * gfortran.dg/coarray/collectives_2.f90: Extend and make valid. libgfortran/ 2014-06-19 Tobias Burnus <burnus@net-b.de> * caf/single.c (_gfortran_caf_co_sum, _gfortran_caf_co_max, _gfortran_caf_co_min): Fix stat setting. From-SVN: r211816
Tobias Burnus committed -
From-SVN: r211815
Richard Henderson committed -
From-SVN: r211814
GCC Administrator committed
-
- 18 Jun, 2014 25 commits
-
-
A comment in rs6000.h says "cr5 is not supposed to be used". I checked all ABIs, going as far back as PowerOpen (1994), and found no mention of this. Also document cr6 is used by some vector instructions. From-SVN: r211811
Segher Boessenkool committed -
PR c++/59296 * call.c (add_function_candidate): Set LOOKUP_NO_RVAL_BIND for ref-qualifier handling. From-SVN: r211809
Jason Merrill committed -
PR c++/61507 * pt.c (resolve_overloaded_unification): Preserve ARGUMENT_PACK_EXPLICIT_ARGS. From-SVN: r211808
Jason Merrill committed -
PR target/61550 * config/sh/sh.c (prepare_move_operands): Don't process TLS addresses here if reload in progress or completed. From-SVN: r211807
Kaz Kojima committed -
2014-06-18 Tobias Burnus <burnus@net-b.de> * gfortran.texi (OpenMP): Update refs to OpenMP 4.0. * intrinsic.texi (OpenMP Modules): Ditto. From-SVN: r211806
Tobias Burnus committed -
gcc/ * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by "TARGET_MIPS16 ? M16_REGS : GR_REGS". * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS. (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16. (mips_register_priority): New function that implements the target hook TARGET_REGISTER_PRIORITY. (mips_spill_class): Likewise for TARGET_SPILL_CLASS. (mips_lra_p): Likewise for TARGET_LRA_P. (TARGET_REGISTER_PRIORITY): Define macro. (TARGET_SPILL_CLASS): Likewise. (TARGET_LRA_P): Likewise. * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS classes. (REG_CLASS_NAMES): Likewise. (REG_CLASS_CONTENTS): Likewise. (BASE_REG_CLASS): Use M16_SP_REGS. * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA. New set attribute to enable alternatives depending on the register allocator used. (*mul_acc_si_r3900, *mul_sub_si): Likewise. (*lea64): Disable pattern for MIPS16. * config/mips/mips.opt (mlra): New option. From-SVN: r211805
Robert Suchanek committed -
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Fix invalid entry. From-SVN: r211804
Uros Bizjak committed -
gcc/ * lra-constraints.c (base_to_reg): New function. (process_address): Use new function. From-SVN: r211802
Robert Suchanek committed -
2014-05-30 Tom de Vries <tom@codesourcery.com> * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare. * config/aarch64/aarch64.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true. (aarch64_emit_call_insn): New function. (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead of emit_call_insn. * config/aarch64/aarch64.md (define_expand "call_internal") (define_expand "call_value_internal", define_expand "sibcall_internal") (define_expand "sibcall_value_internal"): New. (define_expand "call", define_expand "call_value") (define_expand "sibcall", define_expand "sibcall_value"): Use internal expand variant and aarch64_emit_call_insn. * gcc.target/aarch64/fuse-caller-save.c: New test. From-SVN: r211799
Tom de Vries committed -
2014-06-18 Radovan Obradovic <robradovic@mips.com> Tom de Vries <tom@codesourcery.com> * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter. * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true. (arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC clobbers to CALL_INSN_FUNCTION_USAGE. (define_expand "sibcall_internal") (define_expand "sibcall_value_internal"): New. (define_expand "call", define_expand "call_value"): Add argument to arm_emit_call_insn. (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn. (define_expand "sibcall_value"): Use sibcall_value_internal and arm_emit_call_insn. * gcc.target/arm/fuse-caller-save.c: New test. Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r211798
Radovan Obradovic committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove. From-SVN: r211797
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using __udivmoddi4. From-SVN: r211796
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod, push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF annotations. Fix DWARF information. From-SVN: r211795
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using __udivmoddi4, and fixups for negative operands. From-SVN: r211794
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation. From-SVN: r211793
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call to __udivmoddi4. From-SVN: r211792
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer manipulation. From-SVN: r211791
Charles Baylis committed -
bpabi.S (__aeabi_uldivmod, [...]): Add comment describing register usage on function entry and exit. 2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment describing register usage on function entry and exit. From-SVN: r211790
Charles Baylis committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace. (__aeabi_ldivmod): Fix whitespace. From-SVN: r211789
Charles Baylis committed -
* doc/md.texi (Standard Names): Use @itemx for grouped items. Remove blank line after @item. From-SVN: r211788
Andreas Schwab committed -
PR target/61545 * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM. From-SVN: r211785
Richard Henderson committed -
2014-06-18 Charles Baylis <charles.baylis@linaro.org> * config/arm/arm.c (neon_vector_mem_operand): Allow register POST_MODIFY for neon loads and stores. (arm_print_operand): Output post-index register for neon loads and stores. From-SVN: r211783
Charles Baylis committed -
2014-06-18 Richard Biener <rguenther@suse.de> * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit. From-SVN: r211782
Richard Biener committed -
2014-06-18 Richard Biener <rguenther@suse.de> * tree-pass.h (make_pass_dce_loop): Remove. * passes.def: Replace pass_dce_loop with pass_dce. * tree-ssa-dce.c (perform_tree_ssa_dce): If something changed free niter estimates and reset the scev cache. (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop, make_pass_dce_loop): Remove. * tree-ssa-copy.c: Include tree-ssa-loop-niter.h. (fini_copy_prop): Return whether something changed. Always let substitute_and_fold perform DCE and free niter estimates and reset the scev cache if so. (execute_copy_prop): If sth changed schedule cleanup-cfg. (pass_data_copy_prop): Do not unconditionally schedule cleanup-cfg or update-ssa. * gcc.dg/vect/vect.exp: Remove dump-tree-dceloop-* processing. * gcc.dg/vect/dump-tree-dceloop-pr26359.c: Rename to ... * gcc.dg/vect/pr26359.c: ... this and adjust appropriately. From-SVN: r211781
Richard Biener committed -
PR tree-optimization/61518 gcc/ * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that reduction var is used in reduction stmt or phi-function only. gcc/testsuite/ * gcc.dg/torture/pr61518.c: New test. From-SVN: r211780
Yuri Rumyantsev committed
-