1. 06 Apr, 2016 3 commits
    • i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Add support for AVX512F clones... · 3866f8dd
      	* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
      	Add support for AVX512F clones, include them by default for
      	exported OpenMP declare simd functions.  For AVX2 allow simdlen 32
      	and use it if charasteric type is 8-bit, for AVX512F allow simdlen
      	up to 128.
      
      	* lib/target-supports.exp (check_effective_target_vect_simd_clones):
      	Check for avx512f effective targets instead of avx2.
      	* gcc.dg/gomp/declare-simd-1.c: Add scan-assembler-times directives
      	for AVX512F clones.
      	* gcc.dg/gomp/declare-simd-3.c: Likewise.
      	* g++.dg/gomp/declare-simd-1.C: Likewise.
      	* g++.dg/gomp/declare-simd-3.C: Likewise.
      	* g++.dg/gomp/declare-simd-4.C: Likewise.
      
      From-SVN: r234780
      Jakub Jelinek committed
    • re PR middle-end/70550 (-Wuninitialized false positives in OpenMP code) · ec35ea45
      	PR middle-end/70550
      	* tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT): Define.
      	* gimplify.c (gimplify_adjust_omp_clauses_1): Set it for implicit
      	firstprivate clauses.
      	* omp-low.c (lower_send_clauses): Set TREE_NO_WARNING for
      	OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT !by_ref vars in task contexts.
      	(lower_omp_target): Set TREE_NO_WARNING for
      	non-addressable possibly uninitialized vars which are copied into
      	addressable temporaries or copied for GOMP_MAP_FIRSTPRIVATE_INT.
      
      	* c-c++-common/gomp/pr70550-1.c: New test.
      	* c-c++-common/gomp/pr70550-2.c: New test.
      
      From-SVN: r234779
      Jakub Jelinek committed
    • Daily bump. · ce043b0c
      From-SVN: r234771
      GCC Administrator committed
  2. 05 Apr, 2016 20 commits
  3. 04 Apr, 2016 13 commits
  4. 03 Apr, 2016 2 commits
  5. 02 Apr, 2016 2 commits
    • PR c++/67376 - [5/6 regression] Comparison with pointer to past-the-end · abdc16c8
      PR c++/67376 - [5/6 regression] Comparison with pointer to past-the-end
              of array fails inside constant expression
      PR c++/70170 - [6 regression] bogus not a constant expression error comparing
              pointer to array to null
      PR c++/70172 - incorrect reinterpret_cast from integer to pointer error
              on invalid constexpr initialization
      PR c++/70228 - insufficient detail in diagnostics for a constexpr out of bounds
              array subscript
      
      gcc/testsuite/ChangeLog:
      2016-04-02  Martin Sebor  <msebor@redhat.com>
      
              PR c++/67376
              PR c++/70170
              PR c++/70172
              PR c++/70228
              * g++.dg/cpp0x/constexpr-array-ptr10.C: New test.
              * g++.dg/cpp0x/constexpr-array-ptr9.C: New test.
              * g++.dg/cpp0x/constexpr-nullptr-1.C: New test.
              * g++.dg/cpp0x/constexpr-array5.C: Adjust text of expected diagnostic.
              * g++.dg/cpp0x/constexpr-string.C: Same.
              * g++.dg/cpp0x/constexpr-wstring2.C: Same.
              * g++.dg/cpp0x/pr65398.C: Same.
              * g++.dg/ext/constexpr-vla1.C: Same.
              * g++.dg/ext/constexpr-vla2.C: Same.
              * g++.dg/ext/constexpr-vla3.C: Same.
              * g++.dg/ubsan/pr63956.C: Same.
      
      gcc/cp/ChangeLog:
      2016-04-02  Martin Sebor  <msebor@redhat.com>
      
              PR c++/67376
              PR c++/70170
              PR c++/70172
              PR c++/70228
              * constexpr.c (diag_array_subscript): New function.
              (cxx_eval_array_reference): Detect out of bounds array indices.
      
      gcc/ChangeLog:
      2016-04-02  Martin Sebor  <msebor@redhat.com>
      
              PR c++/67376
              * fold-const.c (maybe_nonzero_address): New function.
              (fold_comparison): Call it.  Fold equality and relational
              expressions involving null pointers.
              (tree_single_nonzero_warnv_p): Call maybe_nonzero_address.
      
      From-SVN: r234698
      Martin Sebor committed
    • decl.c (components_to_record): Restrict the previous change to fields with variable size. · 7d9979e6
      	* gcc-interface/decl.c (components_to_record): Restrict the previous
      	change to fields with variable size.
      
      From-SVN: r234696
      Eric Botcazou committed