1. 07 Jun, 2017 17 commits
  2. 06 Jun, 2017 22 commits
    • name-lookup.c (suggest_alternatives_for): Use qualified lookup sans using directives. · 25396db9
      	* name-lookup.c (suggest_alternatives_for): Use qualified lookup
      	sans using directives.  Don't walk into inline namespaces.
      
      	* g++.dg/pr45330.C: Add inline namespace case.
      
      From-SVN: r248938
      Nathan Sidwell committed
    • compiler: typing fixes for Interface_mtable_expression · f788537d
          
          Interface_mtable_expression::do_type computes a type that incorporates
          Go type descriptors for the interface methods, whereas in order to
          have strict type agreement with the mtable data, the interface method
          fields need to be C function ptrs. Change the type recipe accordingly,
          and then update Interface_mtable_expression::do_get_backend to compute
          a revised backend type that uses the correct fcn types.
          
          Reviewed-on: https://go-review.googlesource.com/44750
      
      From-SVN: r248934
      Ian Lance Taylor committed
    • re PR fortran/80975 (matmul for zero-length arrays) · bbf97416
      2017-06-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/80975
      	* m4/matmul_internal.m4:  Move zeroing before early return.
      	* generated/matmul_c10.c: Regenerated.
      	* generated/matmul_c16.c: Regenerated.
      	* generated/matmul_c4.c: Regenerated.
      	* generated/matmul_c8.c: Regenerated.
      	* generated/matmul_i1.c: Regenerated.
      	* generated/matmul_i16.c: Regenerated.
      	* generated/matmul_i2.c: Regenerated.
      	* generated/matmul_i4.c: Regenerated.
      	* generated/matmul_i8.c: Regenerated.
      	* generated/matmul_r10.c: Regenerated.
      	* generated/matmul_r16.c: Regenerated.
      	* generated/matmul_r4.c: Regenerated.
      	* generated/matmul_r8.c: Regenerated.
      	* generated/matmulavx128_c10.c: Regenerated.
      	* generated/matmulavx128_c16.c: Regenerated.
      	* generated/matmulavx128_c4.c: Regenerated.
      	* generated/matmulavx128_c8.c: Regenerated.
      	* generated/matmulavx128_i1.c: Regenerated.
      	* generated/matmulavx128_i16.c: Regenerated.
      	* generated/matmulavx128_i2.c: Regenerated.
      	* generated/matmulavx128_i4.c: Regenerated.
      	* generated/matmulavx128_i8.c: Regenerated.
      	* generated/matmulavx128_r10.c: Regenerated.
      	* generated/matmulavx128_r16.c: Regenerated.
      	* generated/matmulavx128_r4.c: Regenerated.
      	* generated/matmulavx128_r8.c: Regenerated.
      
      2017-06-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/80975
      	* gfortran.dg/matmul_16.f90: New test.
      	* gfortran.dg/inline_matmul_18.f90: New test.
      
      From-SVN: r248932
      Thomas Koenig committed
    • re PR c/79983 (Improve enum and struct redefinition diagnostic) · dc949728
      	PR c/79983
      	* c-decl.c (start_struct): Use the location of TYPE_STUB_DECL of
      	ref.
      	(start_enum): Use the location of TYPE_STUB_DECL of enumtype.
      
      	* gcc.dg/pr79983.c: New test.
      
      From-SVN: r248927
      Marek Polacek committed
    • sparc: Fix stack references in return delay slot. · 100d0700
      gcc/
      
      	PR target/80968
      	* config/sparc/sparc.c (sparc_expand_prologue): Emit frame
      	blockage if function uses alloca.
      
      gcc/testsuite/
      
      	* gcc.target/sparc/sparc-ret-3.c: New test.
      
      From-SVN: r248926
      David S. Miller committed
    • Improve debug output of loop data prefetching. · 23b0f9f8
      	* tree-ssa-loop-prefetch.c (struct mem_ref_group, struct mem_ref):
      	New "uid" fields to hold pretty-print IDs of group and ref.
      	Memory references are now identified as <group_id>:<ref_id>
      	instead of using [random] addresses.
      	(dump_mem_details): Simplify, no functional change.
      	(dump_mem_ref): Simplify and make output more concise.
      	Replace couple of fprintf's throughout code with calls to dump_mem_ref.
      	(find_or_create_group): Initialize group uid.
      	(record_ref): Initialize ref uid.  Improve debug output.
      	(prune_group_by_reuse, should_issue_prefetch_p,)
      	(should_issue_prefetch_p, schedule_prefetches, issue_prefetch_ref,)
      	(mark_nontemporal_store, determine_loop_nest_reuse):
      	Improve debug output.
      
      Change-Id: Ia594d5854de96183f3c5a669c161e5a9a73a29d7
      
      From-SVN: r248925
      Maxim Kuvyrkov committed
    • Add debug counter for loop array prefetching. · 1a70c8d5
      	* dbgcnt.def (prefetch): New debug counter.
      	* tree-ssa-loop-prefetch.c (dbgcnt.h): New include.
      	(schedule_prefetches): Stop issueing prefetches if debug counter
      	tripped.
      
      Change-Id: Ia6160364735a889fb6d2370be21d98f87c0fe962
      
      From-SVN: r248924
      Maxim Kuvyrkov committed
    • Remove NO_LABEL_VALUES · 6c6b519a
      2017-06-06  Tom de Vries  <tom@codesourcery.com>
      
      	* doc/sourcebuild.texi (Testsuites, C Language Testsuites,
      	gcc.c-torture/compile): Remove mention of NO_LABEL_VALUES in fixme.
      
      	* gcc.c-torture/compile/20000326-2.c: Use dg-require-effective-target
      	label_values instead of NO_LABEL_VALUES.
      	* gcc.c-torture/compile/920301-1.c: Same.
      	* gcc.c-torture/compile/920501-1.c: Same.
      	* gcc.c-torture/compile/941014-4.c: Same.
      	* gcc.c-torture/compile/labels-1.c: Same.
      	* gcc.c-torture/compile/pr18903.c: Same.
      	* gcc.c-torture/execute/920302-1.c: Same.
      	* gcc.c-torture/execute/920415-1.c: Same.
      	* gcc.c-torture/execute/920428-2.c: Same.
      	* gcc.c-torture/execute/920501-3.c: Same.
      	* gcc.c-torture/execute/920501-4.c: Same.
      	* gcc.c-torture/execute/920501-5.c: Same.
      	* gcc.c-torture/execute/920501-7.c: Same.
      	* gcc.c-torture/execute/920721-4.c: Same.
      	* gcc.c-torture/execute/980526-1.c: Same.
      	* gcc.c-torture/execute/990208-1.c: Same.
      	* gcc.c-torture/execute/comp-goto-1.c: Same.
      	* gcc.c-torture/execute/comp-goto-2.c: Same.
      	* gcc.dg/torture/stackalign/comp-goto-1.c: Same.
      	* gcc.dg/torture/stackalign/non-local-goto-4.c: Same.
      	* gcc.dg/torture/stackalign/non-local-goto-5.c: Same.
      	* gcc.dg/tree-prof/comp-goto-1.c: Same.
      	* gcc.dg/tree-prof/pr44777.c: Same.
      	* gcc.misc-tests/bprob-2.c: Same.
      	* gcc.misc-tests/gcov-3.c: Same.
      	* lib/gcc.exp (gcc_target_compile): Remove appending of
      	-DNO_LABEL_VALUES to additional_flags.
      	* lib/objc.exp (objc_target_compile): Same.
      	* lib/target-supports.exp (check_effective_target_label_values): Test on
      	'target_info exists gcc,no_label_values' instead of NO_LABEL_VALUES.
      
      From-SVN: r248923
      Tom de Vries committed
    • re PR c++/80979 (ice in lookup_mark, at cp/tree.c:2298) · 25d446fd
      	PR c++/80979
      	* name-lookup.c (adl_class_only): Don't add visible friends.
      
      From-SVN: r248922
      Nathan Sidwell committed
    • [AArch64] Allow const0_rtx operand for atomic compare-exchange patterns · 4ebcc903
      	* config/aarch64/atomics.md (atomic_compare_and_swap<mode> expander):
      	Use aarch64_reg_or_zero predicate for operand 4.
      	(aarch64_compare_and_swap<mode> define_insn_and_split):
      	Use aarch64_reg_or_zero predicate for operand 3.  Add 'Z' constraint.
      	(aarch64_store_exclusive<mode>): Likewise for operand 2.
      
      	* gcc.target/aarch64/atomic_cmp_exchange_zero_reg_1.c: New test.
      
      From-SVN: r248921
      Kyrylo Tkachov committed
    • [ARM] Rename *_compute_save_reg_mask () · 9bd01837
      2017-06-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/
          * config/arm/arm.c (arm_compute_save_reg_mask): Rename into ...
          (arm_compute_save_core_reg_mask): This.
          (thumb1_compute_save_reg_mask): Rename into ...
          (thumb1_compute_save_core_reg_mask): This.
          (arm_compute_save_reg0_reg12_mask): Adapt comment.
          (arm_compute_frame_layout): Likewise.
      
      From-SVN: r248920
      Thomas Preud'homme committed
    • re PR tree-optimization/80974 (wrong code (generated code hangs) at -O2 on x86_64-linux-gnu) · 331dc840
      2017-06-06  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/80974
      	* tree-ssa-sccvn.c (set_ssa_val_to): Do not change but only
      	keep or clear leaders SSA info.
      
      	* gcc.dg/torture/pr80974.c: New testcase.
      
      From-SVN: r248919
      Richard Biener committed
    • Add and use split_mode_p · 38827811
      2017-06-06  Tom de Vries  <tom@codesourcery.com>
      
      	* config/nvptx/nvptx.c (split_mode_p): New function.
      	(nvptx_declare_function_name, nvptx_print_operand): Use split_mode_p.
      
      From-SVN: r248918
      Tom de Vries committed
    • Use maybe_split_mode in nvptx_print_operand · 02e4a6ff
      2017-06-06  Tom de Vries  <tom@codesourcery.com>
      
      	* config/nvptx/nvptx.c (nvptx_print_operand): Use maybe_split_mode.
      
      From-SVN: r248917
      Tom de Vries committed
    • re PR bootstrap/80978 (LTO/PGO bootstrap broken by r248863) · 86fdda05
      
      	PR bootstrap/80978
      	* tree-cfg.c (execute_fixup_cfg): Fix condition on when to rescale
      	profile.
      
      From-SVN: r248915
      Jan Hubicka committed
    • Fix gcc.dg/utf16-4.c · d2537732
      2017-06-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          gcc/testsuite/
          * gcc.dg/utf16-4.c: Accept "long unsigned int" as well as
          "unsigned int" in conversation warning on line 15.
      
      From-SVN: r248914
      Thomas Preud'homme committed
    • shrink-wrap.c (handle_simple_exit): Update profile. · 9c47c8ae
      	* shrink-wrap.c (handle_simple_exit): Update profile.
      	(try_shrink_wrapping): Upate profile.
      
      From-SVN: r248913
      Jan Hubicka committed
    • predict.c (tree_estimate_probability_bb): Add LOCAL_ONLY. · 52261a21
      	* predict.c (tree_estimate_probability_bb): Add LOCAL_ONLY.
      	(tree_guess_outgoing_edge_probabilities): New.
      	* predict.h (tree_guess_outgoing_edge_probabilities): Declare.
      	* tree-cfg.c (gimple_find_sub_bbs): Propagate profile.
      
      From-SVN: r248912
      Jan Hubicka committed
    • * ipa-split.c (split_function): Initialize return bb profile. · ce6ec234
      From-SVN: r248911
      Jan Hubicka committed
    • profile.c (compute_branch_probabilities): Also initialize EXIT_BLOCK profile. · 873fa204
      	* profile.c (compute_branch_probabilities): Also initialize
      	EXIT_BLOCK profile.
      
      From-SVN: r248910
      Jan Hubicka committed
    • re PR tree-optimization/80928 (SLP vectorization does not handle induction in… · e7baeb39
      re PR tree-optimization/80928 (SLP vectorization does not handle induction in outer loop vectorization)
      
      2017-06-06  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/80928
      	* tree-vect-loop.c (vect_update_vf_for_slp): Amend dumps.
      	(vect_analyze_loop_operations): Properly guard analysis for
      	pure SLP case.
      	(vect_transform_loop): Likewise.
      	(vect_analyze_loop_2): Also reset SLP type on PHIs.
      	(vect_model_induction_cost): Do not cost for pure SLP.
      	(vectorizable_induction): Pass in SLP node, implement SLP vectorization
      	of induction in inner loop vectorization.
      	* tree-vect-slp.c (vect_create_new_slp_node): Handle PHIs.
      	(vect_get_and_check_slp_defs): Handle vect_induction_def.
      	(vect_build_slp_tree): Likewise.  Handle PHIs as terminating the
      	recursion.
      	(vect_analyze_slp_cost_1): Cost induction.
      	(vect_detect_hybrid_slp_stmts): Handle PHIs.
      	(vect_get_slp_vect_defs): Likewise.
      	* tree-vect-stmts.c (vect_analyze_stmt): Handle induction.
      	(vect_transform_stmt): Handle SLP reductions.
      	* tree-vectorizer.h (vectorizable_induction): Adjust.
      
      	* gcc.dg/vect/pr80928.c: New testcase.
      	* gcc.dg/vect/slp-13-big-array.c: Remove XFAILs.
      	* gcc.dg/vect/slp-13.c: Likewise.
      	* gcc.dg/vect/slp-perm-9.c: Prevent vectorization of check loop.
      
      From-SVN: r248909
      Richard Biener committed
    • Daily bump. · 09a04a5e
      From-SVN: r248908
      GCC Administrator committed
  3. 05 Jun, 2017 1 commit