]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 29 May 2021 00:16:29 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 29 May 2021 00:16:29 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog

index 290e374e4e45e8229976bc083e825069a5f5566e..24c27bf8cf2cc8c0f2bfc6baa3cb7d91379e949f 100644 (file)
@@ -1,3 +1,77 @@
+2021-05-28  Jason Merrill  <jason@redhat.com>
+
+       * tree-iterator.h (struct tree_stmt_iterator): Add operator++,
+       operator--, operator*, operator==, and operator!=.
+       (class tsi_range): New.
+
+2021-05-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/100778
+       * tree-vect-slp.c (vect_build_slp_tree_1): Prevent possibly
+       trapping ops in different BBs.
+
+2021-05-28  Richard Biener  <rguenther@suse.de>
+
+       PR ipa/100791
+       * tree-inline.c (copy_bb): When processing __builtin_va_arg_pack
+       copy fntype from original call.
+
+2021-05-28  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/100751
+       * doc/gcov.texi: Revert partially a hunk that was wrong.
+
+2021-05-28  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/csky/csky-linux-elf.h (HAVE_sync_compare_and_swapqi):
+       Defined.
+       (HAVE_sync_compare_and_swaphi): Likewise.
+       (HAVE_sync_compare_and_swapsi): Likewise.
+
+2021-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * tree.h (OMP_CLAUSE_MAP_IMPLICIT): Define.
+
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * gimplify.c (gimplify_omp_affinity): New.
+       (gimplify_scan_omp_clauses): Call it; remove affinity clause afterwards.
+       * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_AFFINITY.
+       * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_AFFINITY.
+       * tree.c (omp_clause_num_ops, omp_clause_code_name): Add clause.
+       (walk_tree_1): Handle OMP_CLAUSE_AFFINITY.
+
+2021-05-28  Joern Rennecke  <joern.rennecke@riscy-ip.com>
+           Richard Biener   <rguenther@suse.de>
+
+       * match.pd <popcount & / + pattern matching>:
+       When generating popcount directly fails, try doing it in two halves.
+
+2021-05-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * Makefile.in (generated_files): Add gimple-match.c and
+       generic-match.c
+
+2021-05-28  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * gensupport.c (alter_predicate_for_insn): Handle MATCH_DUP.
+
+2021-05-28  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * gensupport.c (alter_constraints): Add MATCH_SCRATCH case.
+
+2021-05-28  Kewen Lin  <linkw@linux.ibm.com>
+
+       PR tree-optimization/99398
+       * tree-ssa-forwprop.c (simplify_permutation): Optimize some cases
+       where the fed operands are CTOR/CST and propagated through
+       VIEW_CONVERT_EXPR.  Call vec_perm_indices::new_shrunk_vector.
+       * vec-perm-indices.c (vec_perm_indices::new_shrunk_vector): New
+       function.
+       * vec-perm-indices.h (vec_perm_indices::new_shrunk_vector): New
+       declare.
+
 2021-05-27  Uroš Bizjak  <ubizjak@gmail.com>
 
        * config/i386/mmx.md (addv2sf3): Do not call
index 2fcc1005110c6fddec2ca4d4bd477061bdc7ac5f..cc21e7a45a7eef8ca20a1c35605d42575f657359 100644 (file)
@@ -1 +1 @@
-20210528
+20210529
index 28544c752ed103fbf0623b7f12bb10c875ef22b5..29051798fbafeb0a4069edc24640a95ebcfa2578 100644 (file)
@@ -1,3 +1,13 @@
+2021-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * c-omp.c (c_omp_split_clauses): For reduction clause if combined with
+       target add a map tofrom clause with OMP_CLAUSE_MAP_IMPLICIT.
+
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_AFFINITY.
+
 2021-05-25  Martin Liska  <mliska@suse.cz>
 
        PR tree-optimization/92860
index 669a8184bf71e3594e1e6078828ffcad5daa021c..411058fd4707214449a414657479f9552f2a3098 100644 (file)
@@ -1,3 +1,29 @@
+2021-05-28  Richard Biener   <rguenther@suse.de>
+
+       PR c/100803
+       * gimple-parser.c (c_parser_gimple_paren_condition): Diagnose
+       invalid if conditions.
+
+2021-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * c-typeck.c (handle_omp_array_sections): Copy OMP_CLAUSE_MAP_IMPLICIT.
+       (c_finish_omp_clauses): Move not just OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT
+       marked clauses last, but also OMP_CLAUSE_MAP_IMPLICIT.  Add
+       map_firstprivate_head bitmap, set it for GOMP_MAP_FIRSTPRIVATE_POINTER
+       maps and silently remove OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT if it is
+       present too.  For OMP_CLAUSE_MAP_IMPLICIT silently remove the clause
+       if present in map_head, map_field_head or map_firstprivate_head
+       bitmaps.
+
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c-parser.c (c_parser_omp_clause_affinity): New.
+       (c_parser_omp_clause_name, c_parser_omp_variable_list,
+       c_parser_omp_all_clauses, OMP_TASK_CLAUSE_MASK): Handle affinity clause.
+       * c-typeck.c (handle_omp_array_sections_1, handle_omp_array_sections,
+       c_finish_omp_clauses): Likewise.
+
 2021-05-26  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR c/100653
index d4aa5450ca5e9de12d3d2d664f54f3d193758120..882c8eb475d55187e2530b445f94a2c5c64dc402 100644 (file)
@@ -1,3 +1,44 @@
+2021-05-28  Jason Merrill  <jason@redhat.com>
+
+       * constexpr.c (build_data_member_initialization): Use tsi_range.
+       (build_constexpr_constructor_member_initializers): Likewise.
+       (constexpr_fn_retval, cxx_eval_statement_list): Likewise.
+       (potential_constant_expression_1): Likewise.
+       * coroutines.cc (await_statement_expander): Likewise.
+       (await_statement_walker): Likewise.
+       * module.cc (trees_out::core_vals): Likewise.
+       * pt.c (tsubst_expr): Likewise.
+       * semantics.c (set_cleanup_locs): Likewise.
+
+2021-05-28  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100797
+       PR c++/95719
+       * call.c (build_over_call): Adjust base_binfo in
+       resolves_to_fixed_type_p case.
+
+2021-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * semantics.c (handle_omp_array_sections): Copy
+       OMP_CLAUSE_MAP_IMPLICIT.
+       (finish_omp_clauses): Move not just OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT
+       marked clauses last, but also OMP_CLAUSE_MAP_IMPLICIT.  Add
+       map_firstprivate_head bitmap, set it for GOMP_MAP_FIRSTPRIVATE_POINTER
+       maps and silently remove OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT if it is
+       present too.  For OMP_CLAUSE_MAP_IMPLICIT silently remove the clause
+       if present in map_head, map_field_head or map_firstprivate_head
+       bitmaps.
+
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * parser.c (cp_parser_omp_clause_affinity): New.
+       (cp_parser_omp_clause_name, cp_parser_omp_var_list_no_open,
+       cp_parser_omp_all_clauses, OMP_TASK_CLAUSE_MASK): Handle affinity
+       clause.
+       * semantics.c (handle_omp_array_sections_1, handle_omp_array_sections,
+       finish_omp_clauses): Likewise.
+
 2021-05-27  Matthias Kretz  <kretz@kde.org>
 
        PR c++/100716
index d26110140d9617887279937f57aef01df3942f98..2fc8b6f1b00a3e3d982cb09c552be2680fe2c866 100644 (file)
@@ -1,3 +1,28 @@
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * dump-parse-tree.c (show_iterator): New.
+       (show_omp_namelist): Handle iterators.
+       (show_omp_clauses): Handle affinity.
+       * gfortran.h (gfc_free_omp_namelist): New union with 'udr' and new 'ns'.
+       * match.c (gfc_free_omp_namelist): Add are to choose union element.
+       * openmp.c (gfc_free_omp_clauses, gfc_match_omp_detach,
+       gfc_match_omp_clause_reduction, gfc_match_omp_flush): Update
+       call to gfc_free_omp_namelist.
+       (gfc_match_omp_variable_list): Likewise; permit preceeding whitespace.
+       (enum omp_mask1): Add OMP_CLAUSE_AFFINITY.
+       (gfc_match_iterator): New.
+       (gfc_match_omp_clauses): Use it; update call to gfc_free_omp_namelist.
+       (OMP_TASK_CLAUSES): Add OMP_CLAUSE_AFFINITY.
+       (gfc_match_omp_taskwait): Match depend clause.
+       (resolve_omp_clauses): Handle affinity; update for udr/union change.
+       (gfc_resolve_omp_directive): Resolve clauses of taskwait.
+       * st.c (gfc_free_statement): Update gfc_free_omp_namelist call.
+       * trans-openmp.c (gfc_trans_omp_array_reduction_or_udr): Likewise
+       (handle_iterator): New.
+       (gfc_trans_omp_clauses): Handle iterators for depend/affinity clause.
+       (gfc_trans_omp_taskwait): Handle depend clause.
+       (gfc_trans_omp_directive): Update call.
+
 2021-05-27  Harald Anlauf  <anlauf@gmx.de>
 
        PR fortran/100602
index 27e5f67e1b3f34cf21887aed0b7a3d36590bbd24..cbe655fc01cce3d2b31fa4a2f1cc8335697a9588 100644 (file)
@@ -1,3 +1,69 @@
+2021-05-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/100778
+       * gcc.dg/vect/bb-slp-pr100778-1.c: New testcase.
+
+2021-05-28  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100797
+       PR c++/95719
+       * g++.dg/inherit/virtual15.C: New test.
+       * g++.dg/inherit/virtual15a.C: New file.
+
+2021-05-28  Richard Biener  <rguenther@suse.de>
+
+       PR ipa/100791
+       * gcc.dg/pr100791.c: New testcase.
+
+2021-05-28  Richard Biener   <rguenther@suse.de>
+
+       PR c/100803
+       * gcc.dg/gimplefe-error-11.c: New testcase.
+
+2021-05-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * c-c++-common/gomp/pr99928-8.c: Remove all xfails.
+       * c-c++-common/gomp/pr99928-9.c: Likewise.
+       * c-c++-common/gomp/pr99928-10.c: Likewise.
+       * c-c++-common/gomp/pr99928-16.c: New test.
+
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c-c++-common/gomp/affinity-1.c: New test.
+       * c-c++-common/gomp/affinity-2.c: New test.
+       * c-c++-common/gomp/affinity-3.c: New test.
+       * c-c++-common/gomp/affinity-4.c: New test.
+       * c-c++-common/gomp/affinity-5.c: New test.
+       * c-c++-common/gomp/affinity-6.c: New test.
+       * c-c++-common/gomp/affinity-7.c: New test.
+       * gfortran.dg/gomp/affinity-clause-1.f90: New test.
+       * gfortran.dg/gomp/affinity-clause-2.f90: New test.
+       * gfortran.dg/gomp/affinity-clause-3.f90: New test.
+       * gfortran.dg/gomp/affinity-clause-4.f90: New test.
+       * gfortran.dg/gomp/affinity-clause-5.f90: New test.
+       * gfortran.dg/gomp/affinity-clause-6.f90: New test.
+       * gfortran.dg/gomp/depend-iterator-1.f90: New test.
+       * gfortran.dg/gomp/depend-iterator-2.f90: New test.
+       * gfortran.dg/gomp/depend-iterator-3.f90: New test.
+       * gfortran.dg/gomp/taskwait.f90: New test.
+
+2021-05-28  Joern Rennecke  <joern.rennecke@riscy-ip.com>
+           Richard Biener   <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/popcount4ll.c: Remove lp64 condition.
+       Adjust scanning pattern for !lp64.
+       * gcc.dg/tree-ssa/popcount5ll.c: Likewise.
+       * gcc.dg/tree-ssa/popcount4l.c: Adjust scanning pattern
+       for ! int32plus.
+
+2021-05-28  Kewen Lin  <linkw@linux.ibm.com>
+
+       PR tree-optimization/99398
+       * gcc.target/powerpc/vec-perm-ctor-run.c: New test.
+       * gcc.target/powerpc/vec-perm-ctor.c: New test.
+       * gcc.target/powerpc/vec-perm-ctor.h: New test.
+
 2021-05-27  Matthias Kretz  <kretz@kde.org>
 
        PR c++/100716
index 5f6adc50eacd050012ef2981170e272e2b4e1956..aca35043ceeca7f174280fd277fcfcfb5051ccf1 100644 (file)
@@ -1,3 +1,7 @@
+2021-05-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       * testsuite/libgomp.fortran/depend-iterator-2.f90: New test.
+
 2021-05-27  Jakub Jelinek  <jakub@redhat.com>
 
        * testsuite/lib/libgomp.exp (check_effective_target_openacc_cuda,