diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 9f9b011286317cd295c500d05bfc528c903dd8f1..90259886e26d9d96736b7c63f5d09980519990ea 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2022-05-27 Richard Biener <rguenther@suse.de> + + * gcc-changelog/git_update_version.py (active_refs): Remove + releases/gcc-9. + 2022-05-06 Jakub Jelinek <jakub@redhat.com> * gennews (files): Add files for GCC 12. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f8f921f6aa378b78de77be15028d069128dc8f0..a196d5607714d1d9b4ab4da931b156ced7f7d026 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,75 @@ +2022-05-27 Richard Biener <rguenther@suse.de> + + * tree-dfa.cc (get_ref_base_and_extent): Avoid shift. + +2022-05-27 Martin Jambor <mjambor@suse.cz> + + PR ipa/105639 + * ipa-prop.cc (propagate_controlled_uses): Check type of the + constant before adding a LOAD reference. + +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + * tree-core.h (enum omp_clause_code): Rename OMP_CLAUSE_TO_DECLARE + to OMP_CLAUSE_ENTER. + * tree.h (OMP_CLAUSE_ENTER_TO): Define. + * tree.cc (omp_clause_num_ops, omp_clause_code_name): Rename + OMP_CLAUSE_TO_DECLARE to OMP_CLAUSE_ENTER. + * tree-pretty-print.cc (dump_omp_clause): Handle OMP_CLAUSE_ENTER + instead of OMP_CLAUSE_TO_DECLARE, if OMP_CLAUSE_ENTER_TO, print + "to" instead of "enter". + * tree-nested.cc (convert_nonlocal_omp_clauses, + convert_local_omp_clauses): Handle OMP_CLAUSE_ENTER instead of + OMP_CLAUSE_TO_DECLARE. + +2022-05-27 Richard Biener <rguenther@suse.de> + + PR tree-optimization/105726 + * gimple-ssa-warn-restrict.cc (builtin_memref::set_base_and_offset): + Constrain array-of-flexarray case more. + +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + PR sanitizer/105729 + * fold-const.cc (fold_unary_loc): Don't optimize (X &) ((Y *) z + w) + to (X &) z + w if -fsanitize=null during GENERIC folding. + +2022-05-27 Roger Sayle <roger@nextmovesoftware.com> + + * match.pd (match_zero_one_valued_p): New predicate. + (mult @0 @1): Use zero_one_valued_p for optimization to the + expression "bit_and @0 @1". + (bit_and (negate zero_one_valued_p@0) @1): Optimize to MULT_EXPR. + (plus @0 (mult (minus @1 @0) zero_one_valued_p@2)): New transform. + (minus @0 (mult (minus @0 @1) zero_one_valued_p@2)): Likewise. + (bit_xor @0 (mult (bit_xor @0 @1) zero_one_valued_p@2)): Likewise. + Remove three redundant transforms obsoleted by the three above. + +2022-05-27 Roger Sayle <roger@nextmovesoftware.com> + + * config/i386/i386.md (*test<mode>_not): New define_insn_and_split + to split a combined "and;cmp" sequence into "not;test". + +2022-05-27 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * config/xtensa/xtensa.md (bswapsi2): New expansion pattern. + (bswapsi2_internal): Revise the template and condition, and add + detection code for preceding the same insn in order to omit a + "SSAI 8" instruction of the latter. + (bswapdi2): Suppress built-in insn expansion with the corresponding + library call when optimizing for size. + +2022-05-27 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * config/xtensa/xtensa-protos.h + (xtensa_expand_block_set_unrolled_loop, + xtensa_expand_block_set_small_loop): New prototypes. + * config/xtensa/xtensa.cc (xtensa_sizeof_MOVI, + xtensa_expand_block_set_unrolled_loop, + xtensa_expand_block_set_small_loop): New functions. + * config/xtensa/xtensa.md (setmemsi): New expansion pattern. + * config/xtensa/xtensa.opt (mlongcalls): Add target mask. + 2022-05-26 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> * config/xtensa/xtensa.cc (xtensa_expand_block_move): diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 025dab2cdca1c755e9dc341526fb4ea4dcd1360b..d66d352d1563d0778146608a3e50de7ba72b5c62 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220527 +20220528 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2f3071c48d9be5b7b9eab7b76ba9119cb8adcc30..2c0d86fa9969ffd796218931611a322ea3851562 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,12 @@ +2022-05-27 Marek Polacek <polacek@redhat.com> + + PR c/90658 + * c-attribs.cc (get_priority): Check FUNCTION_DECL. + +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + * c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ENTER. + 2022-05-20 David Malcolm <dmalcolm@redhat.com> * c-format.cc: Replace uses of "FINAL" and "OVERRIDE" with "final" diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 11d5af6a0b644c260805cf2518208e8f0729a840..291c0ddde0f824c83e0f4b4a994e59bb2885426b 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,17 @@ +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + * c-parser.cc (c_parser_omp_clause_name): Parse enter clause. + (c_parser_omp_all_clauses): For to clause on declare target, use + OMP_CLAUSE_ENTER clause with OMP_CLAUSE_ENTER_TO instead of + OMP_CLAUSE_TO_DECLARE clause. Handle PRAGMA_OMP_CLAUSE_ENTER. + (OMP_DECLARE_TARGET_CLAUSE_MASK): Add enter clause. + (c_parser_omp_declare_target): Use OMP_CLAUSE_ENTER instead of + OMP_CLAUSE_TO_DECLARE. + * c-typeck.cc (c_finish_omp_clauses): Handle OMP_CLAUSE_ENTER instead + of OMP_CLAUSE_TO_DECLARE, to OMP_CLAUSE_ENTER_TO use "to" as clause + name in diagnostics instead of + omp_clause_code_name[OMP_CLAUSE_CODE (c)]. + 2022-05-25 Jakub Jelinek <jakub@redhat.com> PR c/91134 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a82acaa78d8c460c3ac663c9dd05464f305cff2e..ff6657fa08c6fa8eb601ba568e290dbd553d7a96 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,22 @@ +2022-05-27 Marek Polacek <polacek@redhat.com> + + PR c++/105725 + * parser.cc (class_decl_loc_t::add): Check CLASS_TYPE_P. + +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + * parser.cc (cp_parser_omp_clause_name): Parse enter clause. + (cp_parser_omp_all_clauses): For to clause on declare target, use + OMP_CLAUSE_ENTER clause with OMP_CLAUSE_ENTER_TO instead of + OMP_CLAUSE_TO_DECLARE clause. Handle PRAGMA_OMP_CLAUSE_ENTER. + (OMP_DECLARE_TARGET_CLAUSE_MASK): Add enter clause. + (cp_parser_omp_declare_target): Use OMP_CLAUSE_ENTER instead of + OMP_CLAUSE_TO_DECLARE. + * semantics.cc (finish_omp_clauses): Handle OMP_CLAUSE_ENTER instead + of OMP_CLAUSE_TO_DECLARE, to OMP_CLAUSE_ENTER_TO use "to" as clause + name in diagnostics instead of + omp_clause_code_name[OMP_CLAUSE_CODE (c)]. + 2022-05-26 Marek Polacek <polacek@redhat.com> PR c++/105569 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 33a0636f1170585d962ba0a68d6f4f3c3917a7ef..a629a4ddf1b3a418ed52c638134cce286906da61 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,10 @@ +2022-05-27 Iain Buclaw <ibuclaw@gdcproject.org> + + * dmd/MERGE: Merge upstream dmd 4d07f22f2 + * d-lang.cc (d_handle_option): Handle OPT_fpreview_fiximmutableconv. + * lang.opt (fpreview=fiximmutableconv): New option. + * runtime.def (ARRAYAPPENDT): Remove. + 2022-05-25 Iain Buclaw <ibuclaw@gdcproject.org> * expr.cc: Add "final" and "override" to all "visit" vfunc decls diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3cffe47a16a286d6838e8ebeed79f2db90ba0045..59c89f65a1ee3e575adfa02e7b8a1cd39adc2d98 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2022-05-27 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + + * openmp.cc (gfc_check_omp_requires): Fix clause name in error. + 2022-05-24 Tobias Burnus <tobias@codesourcery.com> PR c/105378 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9734aeb6a1883d8ca08b8eca7e0227df73da1bbe..65aae885e2593f6d558fbeb90f95a9631b671745 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,62 @@ +2022-05-27 Marek Polacek <polacek@redhat.com> + + PR c++/105725 + * g++.dg/warn/Wmismatched-tags-10.C: New test. + +2022-05-27 Marek Polacek <polacek@redhat.com> + + PR c/90658 + * c-c++-common/attr-cdtor-1.c: New test. + +2022-05-27 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + + * gfortran.dg/gomp/requires-4.f90: Update dg-error. + * gfortran.dg/gomp/requires-8.f90: Update dg-error. + +2022-05-27 Martin Jambor <mjambor@suse.cz> + + PR ipa/105639 + * gcc.dg/ipa/pr105639.c: New test. + +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + * c-c++-common/gomp/clauses-3.c: Add tests with enter clause instead + of to or modify some existing to clauses to enter. + * c-c++-common/gomp/declare-target-1.c: Likewise. + * c-c++-common/gomp/declare-target-2.c: Likewise. + * c-c++-common/gomp/declare-target-3.c: Likewise. + * g++.dg/gomp/attrs-9.C: Likewise. + * g++.dg/gomp/declare-target-1.C: Likewise. + +2022-05-27 Richard Biener <rguenther@suse.de> + + PR tree-optimization/105726 + * g++.dg/warn/Warray-bounds-27.C: New testcase. + +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + PR sanitizer/105729 + * g++.dg/ubsan/pr105729.C: New test. + +2022-05-27 Roger Sayle <roger@nextmovesoftware.com> + + * gcc.dg/pr98865.c: New test case. + +2022-05-27 Roger Sayle <roger@nextmovesoftware.com> + + * gcc.target/i386/pr91400-1.c: Update for improved code generation. + * gcc.target/i386/pr91400-2.c: Likewise. + * gcc.target/i386/testnot-1.c: New test case. + * gcc.target/i386/testnot-2.c: Likewise. + +2022-05-27 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * gcc.target/xtensa/bswap.c: Remove test. + * gcc.target/xtensa/bswap-O1.c: New. + * gcc.target/xtensa/bswap-O2.c: Ditto. + * gcc.target/xtensa/bswap-Os.c: Ditto. + 2022-05-26 Marek Polacek <polacek@redhat.com> PR c++/105569 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 411dc5048e3da0eb66fa7a91aa099d2da36bf314..8996f43aaa70ee5001aac53006f4e8b03254433b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,15 @@ +2022-05-27 Jakub Jelinek <jakub@redhat.com> + + * testsuite/libgomp.c-c++-common/target-40.c: Modify some existing to + clauses to enter. + * testsuite/libgomp.c/target-41.c: Likewise. + +2022-05-27 Tobias Burnus <tobias@codesourcery.com> + + * libgomp.texi (Other new OpenMP 5.1 features): Add + 'begin declare target'. + (Other new OpenMP 5.2 features): New. + 2022-05-25 Jakub Jelinek <jakub@redhat.com> * task.c (gomp_task_run_post_handle_dependers): If empty_task diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 5541f205333072e344f2c1b68dc5d3e1fd414f14..6df8af4668a373eadb0c57da17699053b2e55d9f 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,8 @@ +2022-05-27 Iain Buclaw <ibuclaw@gdcproject.org> + + * libdruntime/MERGE: Merge upstream druntime f89da313. + * src/MERGE: Merge upstream phobos d46814c86. + 2022-05-16 Iain Buclaw <ibuclaw@gdcproject.org> * libdruntime/MERGE: Merge upstream druntime 94bd5bcb. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f18bf53a0f17eee686259f16b3cf4468c0eafd5b..3dd646a20ff02b74af591bdab5d8254ba4eec3f3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2022-05-27 Jonathan Wakely <jwakely@redhat.com> + + PR libstdc++/105671 + * include/std/sstream (basic_stringbuf::_M_high_mark): Add + always_inline attribute. + 2022-05-26 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/105681