1. 11 Jan, 2016 16 commits
    • nvptx plugin: do not force JIT target SM version · 0d58938e
          
      When link_ptx runs, a CUDA device is already bound to current thread, so the
      driver library knows the target architecture.  There isn't any benefit from
      forcing a specific target here; on the contrary, hardcoding sm_30 breaks
      offloading on later (Maxwell, sm_5x) devices.
          
      	* plugin/plugin-nvptx.c (link_ptx): Do not set CU_JIT_TARGET.
      
      From-SVN: r232227
      Alexander Monakov committed
    • Remove snprintf from <avx512>_(load|store)<mode>_mask · b34b1c34
      This patch removes snprintf from <avx512>_(load|store)<mode>_mask
      patterns.
      
      	* config/i386/sse.md (<avx512>_load<mode>_mask): Remove
      	snprintf.
      	(<avx512>_store<mode>_mask): Likewise.
      
      From-SVN: r232225
      H.J. Lu committed
    • [RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic block doesn't clobber… · 5baf4532
      [RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic block doesn't clobber CC reg usage of the other
      
              PR rtl-optimization/68841
              * ifcvt.c (struct noce_if_info): Add orig_x field.
              (bbs_ok_for_cmove_arith): Add to_rename parameter.
              Don't record conflicts on to_rename if it's present.
              Allow memory destinations in sets.
              (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
              blocks, passing orig_x to the checks.
              (noce_process_if_block): Set if_info->orig_x appropriately.
      
              * gcc.dg/pr68841.c: New test.
              * gcc.c-torture/execute/pr68841.c: New test.
      
      From-SVN: r232223
      Kyrylo Tkachov committed
    • Add missing phi args in create_parallel_loop · 1c5211b1
      2016-01-11  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/69069
      	* tree-parloops.c (create_parallel_loop): Add missing phi args.
      
      From-SVN: r232221
      Tom de Vries committed
    • re PR rtl-optimization/68920 (Undesirable if-conversion for a rarely taken branch) · ca90b1ed
      gcc/
      
      2016-01-11  Yuri Rumyantsev  <ysrumyan@gmail.com>
      
      	PR rtl-optimization/68920
      	* config/i386/i386.c (ix86_option_override_internal): Restrict number
      	of conditional moves for  RTL if-conversion to 1 for
      	TARGET_ONE_IF_CONV_INSN.
      	* config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
      	* config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
      	* params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
      	parameter to restirct number of conditional moves for
      	RTL if-conversion.
      	* doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
      	* ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
      	conditionl moves.
      
      gcc/testsuite/
      
      2016-01-11  Yuri Rumyantsev  <ysrumyan@gmail.com>
      
      	PR rtl-optimization/68920
      	* gcc.dg/ifcvt-4.c: Add "--param max-rtl-if-conversion-insns=3" option
      	for ix86 targets.
      	* gcc.dg/ifcvt-5.c: New test.
      
      From-SVN: r232220
      Yuri Rumyantsev committed
    • [PR69123] fix handling of MEMs in VTA to avoid dataflow oscillation · b4934671
      The problem arises because we used to drop overwritten MEMs from loc
      lists of VALUEs, but not of other onepart variables, and it just so
      happens that, by doing so, block 6 in the testcase has no D#5 in its
      output in the first pass, because the MEM holding its (previous) value
      was correctly dropped from value 88:88, but gains it in the second
      pass because D#5 has the MEM location incoming directly in its loc
      list, rather than indirectly in a VALUE.
      
      This incorrect binding enables other blocks to believe they have a
      tentative binding for D#5 in some cycles, but others, still operating
      on the early conclusion, believe there isn't, and they oscillate from
      that.
      
      Since we check for escaping MEMs in clobbers, we won't lose anything
      relevant by dropping call-clobbered or overwritten MEMs in all onepart
      variables, and this ensures the loc intersection operation in onepart
      vars won't let a MEM through that wasn't present in earlier
      iterations.
      
      for  gcc/ChangeLog
      
      	PR bootstrap/69123
      	* var-tracking.c (drop_overlapping_mem_locs): Operate on all
      	onepart vars.  Fix typo in comment.  Fix reversed condition in
      	unshare test.
      	(dataflow_set_remove_mem_locs): Operate on all onepart vars.
      
      for gcc/testsuite/ChangeLog
      
      	PR bootstrap/69123
      	* g++.dg/pr69123.C: New.
      
      From-SVN: r232218
      Alexandre Oliva committed
    • [PR69123] make dataflow_set_different details more verbose · 4708731c
      for  gcc/ChangeLog
      
      	PR bootstrap/69123
      	* var-tracking.c (dump_onepart_variable_differences): New.
      	(dataflow_set_different): If a detailed dump is requested,
      	delay early returns and dump differences between onepart
      	variables present before and after, and added variables.
      
      From-SVN: r232217
      Alexandre Oliva committed
    • re PR target/69010 (Boolean vector constant with a scalar mode is expanded incorrectly) · 83834c09
      gcc/
      
      	PR target/69010
      	* expr.c (expand_expr_real_1): For boolean vector constants
      	with a scalar mode use const_scalar_mask_from_tree.
      	(const_scalar_mask_from_tree): New.
      	* optabs.c (expand_vec_cond_mask_expr): Use mask mode
      	assigned to a mask type to handle constants.
      
      gcc/testsuite/
      
      	PR target/69010
      	* gcc.target/i386/pr69010.c: New test.
      
      From-SVN: r232216
      Ilya Enkovich committed
    • [PR ipa/69044] Do not clone for param removal when not possible · dcf89d57
      2016-01-11  Martin Jambor  <mjambor@suse.cz>
      
      	PR ipa/69044
      	* ipa-cp.c (estimate_local_effects): Do not clone for removal of
      	useless parameters if we cannot change function signature.
      
      testsuite/
      	* gcc.target/i386/chkp-pr69044.c: New test.
      
      From-SVN: r232215
      Martin Jambor committed
    • [PR ipa/66616] Copy can_change_signature flag to artificial thunks · fa59e957
      2016-01-11  Martin Jambor  <mjambor@suse.cz>
      
      	PR ipa/66616
      	* cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
      	flag.
      
      From-SVN: r232214
      Martin Jambor committed
    • Don't allow latch with phi in try_transform_to_exit_first_loop_alt · d95167ee
      2016-01-11  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/69109
      	* tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
      	latch with phi.
      
      	* gcc.dg/autopar/pr69109-2.c: New test.
      	* gcc.dg/autopar/pr69109.c: New test.
      
      From-SVN: r232212
      Tom de Vries committed
    • Handle case that outer phi res is not used in a phi in gather_scalar_reductions · 4f6403a8
      2016-01-11  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/69108
      	* tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
      	res is not used in a phi.
      
      	* gcc.dg/autopar/pr69108.c: New test.
      
      From-SVN: r232211
      Tom de Vries committed
    • Fix docs for -frandom-seed. · 4bfede85
      2016-01-11  Yury Gribov  <y.gribov@samsung.com>
      
      	PR 67425
      	* common.opt (frandom-seed): Fix parameter name.
      	* doc/invoke.texi (frandom-seed): Ditto and describe parameter.
      
      From-SVN: r232209
      Yury Gribov committed
    • Don't parallelize loops if libgomp not supported · e9ff08b2
      2016-01-11  Tom de Vries  <tom@codesourcery.com>
      
      	PR tree-optimization/69058
      	* tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
      	not supported.
      
      From-SVN: r232208
      Tom de Vries committed
    • arc.opt (mdiv-rem): Add period to the end. · 80646541
      2016-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
      
              * config/arc/arc.opt (mdiv-rem): Add period to the end.
              (mcode-density): Likewise.
      
      From-SVN: r232207
      Andrew Burgess committed
    • Daily bump. · fecad594
      From-SVN: r232206
      GCC Administrator committed
  2. 10 Jan, 2016 7 commits
  3. 09 Jan, 2016 7 commits
  4. 08 Jan, 2016 10 commits