1. 07 Feb, 2018 6 commits
  2. 06 Feb, 2018 21 commits
  3. 05 Feb, 2018 13 commits
    • * sv.po: Update. · 813ba11a
      From-SVN: r257401
      Joseph Myers committed
    • PR tree-optimization/83369 - Missing diagnostics during inlining · 48fe6bbb
      gcc/ChangeLog:
      
      	PR tree-optimization/83369
      	* tree-ssa-ccp.c (pass_post_ipa_warn::execute): Use %G to print
      	inlining context.
      
      gcc/testsuite/ChangeLog:
      
      	PR tree-optimization/83369
      	gcc.dg/Wnonnull.c: New test.
      
      From-SVN: r257400
      Martin Sebor committed
    • Make lto.exp work with Tcl 8.4 · d66f0329
      "dict" was added in Tcl 8.5, but until a couple of weeks ago the
      testsuite had worked with 8.4.
      
      This patch uses arrays instead, like we do for the caching in
      target-supports.exp.  It is a bit uglier than using dicts was,
      but hopefully not too bad...
      
      2018-02-05  Richard Sandiford  <richard.sandiford@linaro.org>
      
      gcc/testsuite/
      	* lib/lto.exp (lto_handle_diagnostics): Remove messages_by_file
      	argument and use dg-messages-by-file instead.  Expect it to be
      	an array rather than a dict.
      	(lto-link-and-maybe-run): Remove messages_by_file argument and
      	use an upvar for dg-messages-by-file.  Update call to
      	lto_handle_diagnostics.
      	(lt-get-options): Treat dg-messages-by-file as an array
      	rather than a dict.
      	(lto-get-options-main): Likewise.  Set the entry rather than appending.
      	(lto-execute): Treat dg-messages-by-file as an array rather than
      	a dict.  Update call to lto-link-and-maybe-run.
      
      From-SVN: r257397
      Richard Sandiford committed
    • compiler: rollback "avoid negative zero in float constants" · 60d25b80
          
          It uses functions that are not available in MPFR 2.4.2, which is the
          current version supported by GCC.
          
          Original change description:
          
              compiler: avoid negative zero in float constants
          
              Check for negative numbers with very small magnitudes that will round
              to negative zero, and force them to positive zero instead.
          
              This implements the spec clarification in https://golang.org/cl/14727.
              The test is in https://golang.org/cl/91895.
          
              Fixes golang/go#12621
          
          Updates golang/go#12621
          
          Reviewed-on: https://go-review.googlesource.com/92055
      
      From-SVN: r257393
      Ian Lance Taylor committed
    • compiler: avoid negative zero in float constants · 354bbdb6
          
          Check for negative numbers with very small magnitudes that will round
          to negative zero, and force them to positive zero instead.
          
          This implements the spec clarification in https://golang.org/cl/14727.
          The test is in https://golang.org/cl/91895.
          
          Fixes golang/go#12621
          
          Reviewed-on: https://go-review.googlesource.com/91915
      
      From-SVN: r257390
      Ian Lance Taylor committed
    • class.c: Remove unused global variables. · 5f25b464
      	* class.c: Remove unused global variables.
             	(build_primary_vtable): Don't gather statistics.
      	(print_class_statistics): Remove.
      	* cp-tree.h (print_class_statistics): Remove.
      	* tree.c (cxx_print_statistics): Don't call print_class_statistics.
      
      From-SVN: r257389
      Marek Polacek committed
    • re PR c++/82782 (ICE: nested template alias and specialized template with auto template parameter) · 865166c8
      2018-02-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/82782
      	* g++.dg/cpp1z/inline-var4.C: New.
      
      From-SVN: r257388
      Paolo Carlini committed
    • Cherry-pick libsanitizer pointer-pair tristate option. · 4c4f3c3f
      2018-02-05  Martin Liska  <mliska@suse.cz>
      
      	* doc/invoke.texi: Cherry-pick upstream r323995.
      2018-02-05  Martin Liska  <mliska@suse.cz>
      
      	* c-c++-common/asan/pointer-compare-1.c: Adjust ASAN_OPTIONS
      	options.
      	* c-c++-common/asan/pointer-compare-2.c: Likewise.
      	* c-c++-common/asan/pointer-subtract-1.c: Likewise.
      	* c-c++-common/asan/pointer-subtract-2.c: Likewise.
      	* c-c++-common/asan/pointer-subtract-3.c: Likewise.
      	* c-c++-common/asan/pointer-subtract-4.c: Likewise.
      	* c-c++-common/asan/pointer-compare-3.c: New test.
      2018-02-05  Martin Liska  <mliska@suse.cz>
      
      	* asan/asan_flags.inc: Cherry-pick upstream r323995.
      	* asan/asan_report.cc (CheckForInvalidPointerPair):
      	Cherry-pick upstream r323995.
      
      From-SVN: r257387
      Martin Liska committed
    • [AArch64] Remove SVE XFAILs · ba261579
      These tests started passing after r257293, which had the side-effect
      of renumbering the SSA names and leaving the COND_EXPRs in their
      natural order.
      
      This does show a deeper underlying issue that code generation is too
      sensitive to internal things like SSA_NAME versions, but it no longer
      affects these particular tests (for now).
      
      2018-02-05  Richard Sandiford  <richard.sandiford@linaro.org>
      
      gcc/testsuite/
      	* gcc.target/aarch64/sve/vcond_4.c: Remove XFAILs.
      	* gcc.target/aarch64/sve/vcond_5.c: Likewise.
      
      From-SVN: r257386
      Richard Sandiford committed
    • Adjust ira_init_register_move_cost comment · 87e176df
      2018-02-05  Richard Sandiford  <richard.sandiford@linaro.org>
      
      gcc/
      	* ira.c (ira_init_register_move_cost): Adjust comment.
      
      From-SVN: r257385
      Richard Sandiford committed
    • Fix GCOV documentation (PR gcov-profile/84137). · b95852cc
      2018-02-05  Martin Liska  <mliska@suse.cz>
      
      	PR gcov-profile/84137
      	* doc/gcov.texi: Fix typo in documentation.
      
      From-SVN: r257384
      Martin Liska committed
    • Document --dynamic-list-data option for --coverage usage. · 239dc1a3
      2018-02-05  Martin Liska  <mliska@suse.cz>
      
      	PR gcov-profile/83879
      	* doc/gcov.texi: Document necessity of --dynamic-list-data when
      	using dlopen functionality.
      
      From-SVN: r257383
      Martin Liska committed
    • Add missing mask[z]_range[_round]_s[d,s] intrinsics · 55f956ff
      gcc/
      	* config/i386/avx512dqintrin.h (_mm_mask_range_sd, _mm_maskz_range_sd,
      	_mm_mask_range_round_sd, _mm_maskz_range_round_sd, _mm_mask_range_ss,
      	_mm_maskz_range_ss, _mm_mask_range_round_ss,
      	_mm_maskz_range_round_ss): New intrinsics.
      	(__builtin_ia32_rangesd128_round)
      	(__builtin_ia32_rangess128_round): Remove.
      	(__builtin_ia32_rangesd128_mask_round,
      	__builtin_ia32_rangess128_mask_round): New builtins.
      	* config/i386/i386-builtin.def (__builtin_ia32_rangesd128_round,
      	__builtin_ia32_rangess128_round): Remove.
      	(__builtin_ia32_rangesd128_mask_round,
      	__builtin_ia32_rangess128_mask_round): New builtins.
      	* config/i386/sse.md (ranges<mode><round_saeonly_name>): Renamed to ...
      	(ranges<mode><mask_scalar_name><round_saeonly_scalar_name>): ... this.
      	((match_operand:VF_128 2 "<round_saeonly_nimm_predicate>"
      	"<round_saeonly_constraint>")): Changed to ...
      	((match_operand:VF_128 2 "<round_saeonly_scalar_nimm_predicate>"
      	"<round_saeonly_scalar_constraint>")): ... this.
      	("vrange<ssescalarmodesuffix>\t{%3, <round_saeonly_op4>%2, %1, %0|
      	%0, %1, %2<round_saeonly_op4>, %3}"): Changed to ...
      	("vrange<ssescalarmodesuffix>\t{%3, <round_saeonly_scalar_mask_op4>%2,
      	%1, %0<mask_scalar_operand4>|%0<mask_scalar_operand4>, %1,
      	%2<round_saeonly_scalar_mask_op4>, %3}"): ... this.
      gcc/testsuite
      	* gcc.target/i386/avx512dq-vrangesd-1.c (_mm_mask_range_sd,
      	_mm_maskz_range_sd, _mm_mask_range_round_sd,
      	_mm_maskz_range_round_sd): Test new intrinsics.
      	* gcc.target/i386/avx512dq-vrangesd-2.c (_mm_range_sd,
      	_mm_mask_range_sd, _mm_maskz_range_sd, _mm_range_round_sd,
      	_mm_mask_range_round_sd, _mm_maskz_range_round_sd): Test new intrinsics.
      	* gcc.target/i386/avx512dq-vrangess-1.c (_mm_mask_range_ss,
      	_mm_maskz_range_ss, _mm_mask_range_round_ss,
      	_mm_maskz_range_round_ss): Test new intrinsics.
      	* gcc.target/i386/avx512dq-vrangess-2.c (_mm_range_ss,
      	_mm_mask_range_ss, _mm_maskz_range_ss, _mm_range_round_ss,
      	_mm_mask_range_round_ss, _mm_maskz_range_round_ss): Test new intrinsics.
      	* gcc.target/i386/avx-1.c (__builtin_ia32_rangesd128_round,
      	__builtin_ia32_rangess128_round): Remove builtins.
      	(__builtin_ia32_rangesd128_mask_round,
      	__builtin_ia32_rangess128_mask_round): Test new builtins.
      	* gcc.target/i386/sse-13.c: Ditto.
      	* gcc.target/i386/sse-23.c: Ditto.
      
      From-SVN: r257382
      Olga Makhotina committed