1. 30 Nov, 2016 33 commits
  2. 29 Nov, 2016 7 commits
    • xtensa: Fix PR target/78603 · 464636c0
      2016-11-29  Max Filippov  <jcmvbkbc@gmail.com>
      gcc/
      	* config/xtensa/xtensa.c (hwloop_optimize): Don't emit zero
      	overhead loop start between a call and its CALL_ARG_LOCATION
      	note.
      
      From-SVN: r242979
      Max Filippov committed
    • avoid false positives on ILP32 targets. · 576b067c
      
      gcc/testsuite/ChangeLog:
      
      	avoid false positives on ILP32 targets.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-3.c: Same.
      
      From-SVN: r242977
      Martin Sebor committed
    • * config/bfin/linux.h (CPP_SPEC): Define. · 80a30512
      From-SVN: r242976
      Waldemar Brodkorb committed
    • PR tree-optimization/78512 - [7 Regression] r242674 miscompiles Linux kernel · 01a4551c
      gcc/ChangeLog:
      
      	PR tree-optimization/78512
      	* config/linux.h (TARGET_PRINTF_POINTER_FORMAT): Remove.
      	* config/rs6000/linux.h: Same.
      	* config/rs6000/linux64.h: Same.
      	* config/sol2.h: Same.
      	* config/sol2.c (solaris_printf_pointer_format): Remove.
      	* doc/tm.texi.in (TARGET_PRINTF_POINTER_FORMAT): Remove.
      	* doc/tm.texi: Regenerate.
      	* gimple-ssa-sprintf.c (format_pointer): Rempove.
      	(pass_sprintf_length::compute_format_length): Return bool.
      	(pass_sprintf_length::handle_gimple_call): Adjust.
      	* target.def (printf_pointer_format): Remove.
      	* targhooks.c (default_printf_pointer_format): Remove.
      	(linux_printf_pointer_format): Same.
      	* targhooks.h (default_printf_pointer_format): Remove.
      	(linux_printf_pointer_format, solaris_printf_pointer_format): Same.
      
      gcc/testsuite/ChangeLog:
      
      	PR tree-optimization/78512
      	* gcc.dg/tree-ssa/builtin-sprintf-6.c: Add test cases.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Remove test cases.
      
      From-SVN: r242975
      Martin Sebor committed
    • sse.md (UNSPEC_MASKOP): Move from i386.md. · a9185480
      	* config/i386/sse.md (UNSPEC_MASKOP): Move from i386.md.
      	(mshift): Ditto.
      	(SWI1248_AVX512BWDQ): Ditto.
      	(SWI1248_AVX512BW): Ditto.
      	(k<any_logic:code><mode>): Ditto.
      	(kandn<mode>): Ditto.
      	(kxnor<mode>): Ditto.
      	(knot<mode>): Ditto.
      	(*k<any_lshift:code><mode>): Ditto.
      	(kortestzhi, kortestchi): Ditto.
      	(kunpckhi, kunpcksi, kunpckdi): Ditto.
      
      testsuite/ChangeLog:
      
      	* gcc.target/i386/avx512f-kmovw-1.c (avx512f_test):
      	Force value through k register.
      
      From-SVN: r242971
      Uros Bizjak committed
    • tree-vrp.c (simplify_stmt_using_ranges): Use boolean_type_node for the EQ_EXPR. · 28ea3e97
      2016-11-29  Andrew Pinski  <apinski@cavium.com>
      
              * tree-vrp.c (simplify_stmt_using_ranges): Use boolean_type_node
              for the EQ_EXPR.
      
      From-SVN: r242970
      Andrew Pinski committed
    • re PR target/71331 (target-tilegx: nested-function-4.c: r10 is conflict which is… · 885cf7d3
      re PR target/71331 (target-tilegx: nested-function-4.c: r10 is conflict which is both in function frame and in parameter.)
      
      	PR target/71331
      	* config/tilegx/tilegx.c (tilegx_function_profiler): Save r10
      	to stack before call mcount.
      	(tilegx_can_use_return_insn_p): Clean up code.
      
      From-SVN: r242969
      Chen Gang committed