- 08 Dec, 2014 19 commits
-
-
PR target/64226 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner) [SYMBOL_REF]: Do not explicitly call create_TOC_reference for TARGET_TOC. Always use rs6000_emit_move. From-SVN: r218497
David Edelsohn committed -
This implements the DW_TAG_atomic_type for C11 _Atomic proposal as adopted in the latest DWARF5 draft. http://dwarfstd.org/ShowIssue.php?issue=131112.1 gcc/ChangeLog PR debug/60782 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_ATOMIC. gcc/testsuite/ChangeLog PR debug/60782 * gcc.dg/debug/dwarf2/atomic.c: New test. * gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: Likewise. include/ChangeLog PR debug/60782 * dwarf2.def: Add DWARFv5 DW_TAG_atomic_type. From-SVN: r218496
Mark Wielaard committed -
From-SVN: r218495
Jeff Law committed -
PR target/61692 * cfgexpand.c (expand_asm_operands): Count all inline asm params. PR target/61692 * gcc.dg/pr61692.c: New test. From-SVN: r218494
David Wohlferd committed -
From-SVN: r218491
Lynn Boger committed -
gcc/ChangeLog: PR jit/63854 * cgraph.h (xstrdup_for_dump): New function. * cgraph.c (cgraph_node::get_create): Replace use of xstrdup within fprintf with xstrdup_for_dump. (cgraph_edge::make_speculative): Likewise. (cgraph_edge::resolve_speculation): Likewise. (cgraph_edge::redirect_call_stmt_to_callee): Likewise. (cgraph_node::dump): Likewise. * cgraphclones.c (symbol_table::materialize_all_clones): Likewise. * ipa-cp.c (perhaps_add_new_callers): Likewise. * ipa-inline.c (report_inline_failed_reason): Likewise. (want_early_inline_function_p): Likewise. (edge_badness): Likewise. (update_edge_key): Likewise. (flatten_function): Likewise. (inline_always_inline_functions): Likewise. * ipa-profile.c (ipa_profile): Likewise. * ipa-prop.c (ipa_print_node_jump_functions): Likewise. (ipa_make_edge_direct_to_target): Likewise. (remove_described_reference): Likewise. (propagate_controlled_uses): Likewise. * ipa-utils.c (ipa_merge_profiles): Likewise. From-SVN: r218490
David Malcolm committed -
gcc/jit/ChangeLog: * libgccjit++.h: Indent the forward declarations of the classes to show the inheritance hierarchy. From-SVN: r218489
David Malcolm committed -
gcc/jit/ChangeLog: * notes.txt: Show the beginning and ending of recording::context::compile vs playback::context::compile. Show the creation and unlinking of the tempdir. Show toplev::finalize. Move "RELEASE MUTEX" to the correct location. Show gcc_jit_result_release, and indicate where the dlopen/dlsym/dlclose occur. From-SVN: r218488
David Malcolm committed -
2014-12-08 Bernd Edlinger <bernd.edlinger@hotmail.de> PR ipa/64049 * ipa-polymorphic-call.c (pa_polymorphic_call_context::ipa_polymorphic_call): Allow RESULT_DECL. testsuite/ChangeLog: 2014-12-08 Bernd Edlinger <bernd.edlinger@hotmail.de> PR ipa/64049 * g++.dg/ipa/pr64049.h: New. * g++.dg/ipa/pr64049-1.C: New. * g++.dg/ipa/pr64049-2.C: New. From-SVN: r218487
Bernd Edlinger committed -
gcc/ * config/aarch64/aarch64.md (and_one_cmpl<mode>3_compare0_no_reuse): New define_insn. * (and_one_cmpl_<SHIFT:optab><mode>3_compare0_no_reuse): Likewise. gcc/testsuite/ * gcc.target/aarch64/bics_3.c : New testcase. From-SVN: r218486
Alex Velenko committed -
PR go/64198 compiler: Don't crash on invalid ++. From-SVN: r218485
Ian Lance Taylor committed -
* config/aarch64/arm_neon.h (vrecpe_u32, vrecpeq_u32): Rewrite using builtin functions. (vfma_f32, vfmaq_f32, vfmaq_f64, vfma_n_f32, vfmaq_n_f32, vfmaq_n_f64, vfms_f32, vfmsq_f32, vfmsq_f64): Likewise. (vhsub_s8, vhsub_u8, vhsub_s16, vhsub_u16, vhsub_s32, vhsub_u32, vhsubq_s8, vhsubq_u8, vhsubq_s16, vhsubq_u16, vhsubq_s32, vhsubq_u32, vsubhn_s16, vsubhn_u16, vsubhn_s32, vsubhn_u32, vsubhn_s64, vsubhn_u66, vrsubhn_s16, vrsubhn_u16, vrsubhn_s32, vrsubhn_u32, vrsubhn_s64, vrsubhn_u64, vsubhn_high_s16, vsubhn_high_u16, vsubhn_high_s32, vsubhn_high_u32, vsubhn_high_s64, vsubhn_high_u64, vrsubhn_high_s16, vrsubhn_high_u16, vrsubhn_high_s32, vrsubhn_high_u32, vrsubhn_high_s64, vrsubhn_high_u64): Likewise. * config/aarch64/iterators.md (VDQ_SI): New mode iterator. * config/aarch64/aarch64.md (define_c_enum "unspec"): Add UNSPEC_URECPE. * config/aarch64/aarch64-simd.md (aarch64_urecpe<mode>): New pattern. * config/aarch64/aarch64-simd-builtins.def (shsub, uhsub, subhn, rsubhn, subhn2, rsubhn2, urecpe): New builtins. Co-Authored-By: Haijian Zhang <z.zhanghaijian@huawei.com> Co-Authored-By: Jiji Jiang <jiangjiji@huawei.com> Co-Authored-By: Pengfei Sui <suipengfei@huawei.com> From-SVN: r218484
Felix Yang committed -
gcc/ * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Handle v64qi. * config/i386/sse.md (VEC_PERM_AVX2): Add v64qi. From-SVN: r218483
Ilya Tocar committed -
gcc/ * config/i386/i386.c (expand_vec_perm_broadcast_1): Handle v64qi. (expand_vec_perm_vpermi2_vpshub2): New. (ix86_expand_vec_perm_const_1): Use it. (ix86_vectorize_vec_perm_const_ok): Handle v64qi. * config/i386/sse.md (VEC_PERM_CONST): Add v64qi. From-SVN: r218482
Ilya Tocar committed -
* tree-chkp.c (chkp_build_returned_bound): Don't predict return bounds for strchr calls. From-SVN: r218479
Ilya Enkovich committed -
gcc/ * tree-chkp.c (chkp_call_returns_bounds_p): New. (chkp_build_returned_bound): Use zero bounds as returned by calls not returning bounds. gcc/testsuite/ * gcc.target/i386/chkp-bndret.c: New. * gcc.target/i386/chkp-strchr.c: New. From-SVN: r218478
Ilya Enkovich committed -
2014-12-08 Richard Biener <rguenther@suse.de> * builtins.c (fold_builtin_0): Remove unused ignore parameter. (fold_builtin_1): Likewise. (fold_builtin_3): Likewise. (fold_builtin_varargs): Likewise. (fold_builtin_2): Likewise. Do not fold stpcpy here. (fold_builtin_n): Adjust. (fold_builtin_stpcpy): Move to gimple-fold.c. (gimple_fold_builtin_stpcpy): Moved and gimplified from builtins.c. (gimple_fold_builtin): Fold stpcpy here. From-SVN: r218477
Richard Biener committed -
gcc/ PR ipa/63621 * symtab.c (symtab_node::verify): Check for section attribute before asserting something isn't in a section and a comdat group. From-SVN: r218476
Trevor Saunders committed -
From-SVN: r218475
GCC Administrator committed
-
- 07 Dec, 2014 10 commits
-
-
gcc/testsuite/ PR target/53513 * gcc.target/sh/pr54602-4.c: Fix matching of rte-nop sequence. From-SVN: r218472
Oleg Endo committed -
gcc/ PR target/50751 * config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1. From-SVN: r218469
Oleg Endo committed -
* compare-elim.c: Fix head comment. (conforming_compare): Remove redundant test. (can_eliminate_compare): New function extracted from... (before_dom_children): ...here. Use it, replace direct uses of flag_non_call_exceptions and tidy up. (maybe_select_cc_mode): Tidy up. From-SVN: r218468
Eric Botcazou committed -
PR testsuite/64038 * gcc.dg/ipa/ipa-icf-5.c: Require c99_runtime. Add c99_runtime options. * gcc.dg/ipa/ipa-icf-7.c: Likewise. From-SVN: r218467
John David Anglin committed -
gcc/testsuite/ * gcc.target/h8300/h8300.exp: Fix duplicated text. * gcc.target/h8300/pragma-isr.c: Likewise. * gcc.target/h8300/pragma-isr2.c: Likewise. From-SVN: r218465
Oleg Endo committed -
* config/aarch64/aarch64-simd.md (clrsb<mode>2, popcount<mode>2): New patterns. * config/aarch64/aarch64-simd-builtins.def (clrsb, popcount): New builtins. * config/aarch64/arm_neon.h (vcls_s8, vcls_s16, vcls_s32, vclsq_s8, vclsq_s16, vclsq_s32, vcnt_p8, vcnt_s8, vcnt_u8, vcntq_p8, vcntq_s8, vcntq_u8): Rewrite using builtin functions. Co-Authored-By: Shanyao Chen <chenshanyao@huawei.com> From-SVN: r218464
Felix Yang committed -
2014-12-07 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/aarch64/advsimd-intrinsics/vaddhn.c: Actually execute the test. * gcc.target/aarch64/advsimd-intrinsics/vaddl.c: Actually execute the test. Fix expected output. * gcc.target/aarch64/advsimd-intrinsics/vaddw.c: Likewise. From-SVN: r218463
Christophe Lyon committed -
* symtab.c (symtab_node::equal_address_to): New function. * cgraph.h (symtab_node::equal_address_to): Declare. * fold-const.c (fold_comparison, fold_binary_loc): Use it. * c-family/c-common.c: Refuse weaks for symbols that can not change visibility. * gcc.dg/addr_equal-1.c: New testcase. From-SVN: r218462
Jan Hubicka committed -
From-SVN: r218461
Jonathan Wakely committed -
From-SVN: r218460
GCC Administrator committed
-
- 06 Dec, 2014 8 commits
-
-
PR tree-optimization/54742 * params.def (max-fsm-thread-path-insns, max-fsm-thread-length, max-fsm-thread-paths): New. * doc/invoke.texi (max-fsm-thread-path-insns, max-fsm-thread-length, max-fsm-thread-paths): Documented. * tree-cfg.c (split_edge_bb_loc): Export. * tree-cfg.h (split_edge_bb_loc): Declared extern. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Restore the original value of cond when simplification fails. (fsm_find_thread_path): New. (fsm_find_control_statement_thread_paths): New. (thread_through_normal_block): Call find_control_statement_thread_paths. * tree-ssa-threadupdate.c (dump_jump_thread_path): Pretty print EDGE_FSM_THREAD. (verify_seme): New. (duplicate_seme_region): New. (thread_through_all_blocks): Generate code for EDGE_FSM_THREAD edges calling duplicate_seme_region. * tree-ssa-threadupdate.h (jump_thread_edge_type): Add EDGE_FSM_THREAD. * testsuite/gcc.dg/tree-ssa/ssa-dom-thread-6.c: New test. * testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c: New test. Co-Authored-By: Brian Rzycki <b.rzycki@samsung.com> Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r218451
James Greenhalgh committed -
2014-12-06 Tobias Burnus <burnus@net-b.de> * error.c (gfc_error_check): Use bool not int. * gfortran.h (gfc_error_check): Update prototype. * match.c (gfc_match_if): Update call. * parse.c (decode_statement, decode_omp_directive, decode_gcc_attribute): Ditto. From-SVN: r218450
Tobias Burnus committed -
2014-12-06 Tobias Burnus <burnus@net-b.de> Manuel López-Ibáñez <manu@gcc.gnu.org> * error.c (gfc_buffer_error, gfc_error_flag_test): Use bool not * int. (buffer_flag): Remove static variable. (buffered_p): Add static variable. (gfc_error_init_1): Call gfc_buffer_error. (gfc_warning_1, gfc_warning, gfc_warning_now_1, gfc_error, gfc_error_now_1): Update for static variable change. * gfortran.h (gfc_buffer_error, gfc_error_flag_test): Update prototype. * parse.c (use_modules, decode_specification_statement, next_fixed, next_statement, match_deferred_characteristics): Update calls. * decl.c (gfc_match_data_decl): Ditto. * match.c (gfc_match_name): Ditto. Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org> From-SVN: r218449
Tobias Burnus committed -
From-SVN: r218448
Bruce Korb committed -
PR tree-optimization/64183 * c-gimplify.c (c_gimplify_expr): Don't convert the RHS of a shift-expression if it is integer_type_node. Use types_compatible_p. * gcc.dg/tree-ssa/pr64183.c: New test. From-SVN: r218447
Marek Polacek committed -
gcc/ PR target/64200 * config/i386/i386.c (decide_alg): Don't assert "alg != libcall" for TARGET_INLINE_STRINGOPS_DYNAMICALLY. gcc/testsuite/ PR target/64200 * gcc.target/i386/memcpy-strategy-4.c: New test. From-SVN: r218446
H.J. Lu committed -
From-SVN: r218444
Tim Shen committed -
From-SVN: r218443
GCC Administrator committed
-
- 05 Dec, 2014 3 commits
-
-
PR sanitizer/64170 * sanopt.c (maybe_optimize_asan_check_ifn): If base_checks is non-NULL, call maybe_get_dominating_check on it even if g is non-NULL. * gcc.dg/asan/pr64170.c: New test. From-SVN: r218440
Jakub Jelinek committed -
* doc/md.texi: Note problems using function calls to determine insn lengths and point readers to a potential workaround. From-SVN: r218439
Jeff Law committed -
(can_split_parallel_of_n_reg_sets): Only define if !HAVE_cc0. From-SVN: r218436
Andreas Schwab committed
-