From c1f6690b821f06616d442d732b24473d91eca66a Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 15 Mar 2024 00:17:52 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 9 ++++++ gcc/cp/ChangeLog | 9 ++++++ gcc/fortran/ChangeLog | 31 ++++++++++++++++++++ gcc/m2/ChangeLog | 48 ++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 74 +++++++++++++++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 16 ++++++++++ libgomp/ChangeLog | 5 ++++ libstdc++-v3/ChangeLog | 72 +++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 342 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6ac554e3ee..8e166805877 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,80 @@ +2024-03-14 Jason Merrill + + * tree-core.h (enum clobber_kind): Clarify CLOBBER_OBJECT_* + comments. + +2024-03-14 John David Anglin + + PR target/114288 + * config/pa/pa.cc (pa_legitimate_address_p): Don't allow + 14-bit displacements before reload for modes that may use + a floating-point load or store. + +2024-03-14 David Faust + + * config/bpf/bpf.h (INT8_TYPE): Change to signed char. + +2024-03-14 Max Filippov + + * config/xtensa/xtensa.md (movsi_internal): Move l32i and s32i + patterns ahead of the l32i.n and s32i.n. + +2024-03-14 Jakub Jelinek + + * config/gcn/gcn-hsa.h (ABI_VERSION_SPEC): Fix comment typo. + +2024-03-14 Jakub Jelinek + + PR middle-end/113907 + * ipa-icf.cc (sem_item_optimizer::merge_classes): Reset + SSA_NAME_RANGE_INFO and SSA_NAME_PTR_INFO on successfully ICF merged + functions. + +2024-03-14 Xi Ruoyao + + * config/loongarch/loongarch.md (any_ge): Remove. + (sge_): Remove. + +2024-03-14 Jakub Jelinek + + PR target/114310 + * config/aarch64/aarch64.cc (aarch64_expand_compare_and_swap): For + TImode force newval into a register. + +2024-03-14 Chung-Lin Tang + + * tree.h (OMP_CLAUSE_MAP_READONLY): New macro. + (OMP_CLAUSE__CACHE__READONLY): New macro. + * tree-core.h (struct GTY(()) tree_base): Adjust comments for new + uses of readonly_flag bit in OMP_CLAUSE_MAP_READONLY and + OMP_CLAUSE__CACHE__READONLY. + * tree-pretty-print.cc (dump_omp_clause): Add support for printing + OMP_CLAUSE_MAP_READONLY and OMP_CLAUSE__CACHE__READONLY. + +2024-03-14 Andreas Krebbel + + * config/s390/s390.cc (s390_encode_section_info): Adjust the check + for misaligned symbols. + * config/s390/s390.opt: Improve documentation. + +2024-03-14 Jakub Jelinek + + * gimple-iterator.cc (edge_before_returns_twice_call): Copy all + flags and probability from ad_edge to e edge. If CDI_DOMINATORS + are computed, recompute immediate dominator of other_edge->src + and other_edge->dest. + (gsi_safe_insert_before, gsi_safe_insert_seq_before): Update *iter + for the returns_twice call case to the gsi_for_stmt (stmt) to deal + with update it for bb splitting. + +2024-03-14 liuhongt + + * config/i386/i386-features.cc + (general_scalar_chain::convert_op): Handle REG_EH_REGION note. + (convert_scalars_to_vector): Ditto. + * config/i386/i386-features.h (class scalar_chain): New + memeber control_flow_insns. + 2024-03-13 Jakub Jelinek PR middle-end/114319 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index d58fa7c0da5..d71dec2cf4d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240314 +20240315 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index f8b56315ce5..b8374c7d774 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2024-03-14 Chung-Lin Tang + + * c-parser.cc (c_parser_oacc_data_clause): Add parsing support for + 'readonly' modifier, set OMP_CLAUSE_MAP_READONLY if readonly modifier + found, update comments. + (c_parser_oacc_cache): Add parsing support for 'readonly' modifier, + set OMP_CLAUSE__CACHE__READONLY if readonly modifier found, update + comments. + 2024-03-08 Jakub Jelinek PR debug/113918 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2965b95a51d..05fd84c60ce 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2024-03-14 Chung-Lin Tang + + * parser.cc (cp_parser_oacc_data_clause): Add parsing support for + 'readonly' modifier, set OMP_CLAUSE_MAP_READONLY if readonly modifier + found, update comments. + (cp_parser_oacc_cache): Add parsing support for 'readonly' modifier, + set OMP_CLAUSE__CACHE__READONLY if readonly modifier found, update + comments. + 2024-03-12 Nathaniel Shead PR c++/98645 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 399a284b7e5..21a85a6266b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,34 @@ +2024-03-14 Thomas Schwinge + + * dump-parse-tree.cc (show_omp_clauses): Handle 'self_expr'. + * openmp.cc (gfc_free_omp_clauses): Likewise. + * trans-openmp.cc (gfc_split_omp_clauses): Don't handle 'self_expr'. + +2024-03-14 Chung-Lin Tang + + * dump-parse-tree.cc (show_omp_namelist): Print "readonly," for + OMP_LIST_MAP and OMP_LIST_CACHE if n->u.map.readonly is set. + Adjust 'n->u.map_op' to 'n->u.map.op'. + * gfortran.h (typedef struct gfc_omp_namelist): Adjust map_op as + 'ENUM_BITFIELD (gfc_omp_map_op) op:8', add 'bool readonly' field, + change to named struct field 'map'. + * openmp.cc (gfc_match_omp_map_clause): Adjust 'n->u.map_op' to + 'n->u.map.op'. + (gfc_match_omp_clause_reduction): Likewise. + (gfc_match_omp_clauses): Add readonly modifier parsing for OpenACC + copyin clause, set 'n->u.map.op' and 'n->u.map.readonly' for parsed + clause. Adjust 'n->u.map_op' to 'n->u.map.op'. + (gfc_match_oacc_declare): Adjust 'n->u.map_op' to 'n->u.map.op'. + (gfc_match_oacc_cache): Add readonly modifier parsing for OpenACC + cache directive. + (resolve_omp_clauses): Adjust 'n->u.map_op' to 'n->u.map.op'. + * trans-decl.cc (add_clause): Adjust 'n->u.map_op' to 'n->u.map.op'. + (finish_oacc_declare): Likewise. + * trans-openmp.cc (gfc_trans_omp_clauses): Set OMP_CLAUSE_MAP_READONLY, + OMP_CLAUSE__CACHE__READONLY to 1 when readonly is set. Adjust + 'n->u.map_op' to 'n->u.map.op'. + (gfc_add_clause_implicitly): Adjust 'n->u.map_op' to 'n->u.map.op'. + 2024-03-13 Harald Anlauf PR fortran/114001 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index d9da0b1be96..b051f017899 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,51 @@ +2024-03-14 Gaius Mulley + + PR modula2/114294 + * gm2-compiler/M2Quads.mod (BuildConstHighFromSym): + Call PutConst to assign the type Cardinal in the result + constant. + +2024-03-14 Gaius Mulley + + PR modula2/114333 + * gm2-compiler/M2GenGCC.mod (CodeStatement): Remove op1, op2 and + op3 parameters to CodeIfLess, CodeIfLessEqu, CodeIfGreEqu, CodeIfGre, + CodeIfIn, CodeIfNotIn. + (CodeIfLess): Rewrite. + (PerformCodeIfLess): New procedure. + (CodeIfLess): Rewrite. + (PerformCodeIfLess): New procedure. + (CodeIfLessEqu): Rewrite. + (PerformCodeIfLessEqu): New procedure. + (CodeIfGreEqu): Rewrite. + (PerformCodeIfGreEqu): New procedure. + (CodeIfGre): Rewrite. + (PerformCodeIfGre): New procedure. + (CodeIfIn): Rewrite. + (PerformCodeIfIn): New procedure. + (CodeIfNotIn): Rewrite. + (PerformCodeIfNotIn): New procedure. + +2024-03-14 Gaius Mulley + + PR modula2/114333 + * gm2-compiler/M2Check.mod (checkUnbounded): New procedure + function. + (checkArrayTypeEquivalence): Extend checking to cover unbounded + arrays, arrays and constants. + (IsTyped): Simplified the expression and corrected a test for + IsConstructor. + (checkTypeKindViolation): New procedure function. + (doCheckPair): Call checkTypeKindViolation. + * gm2-compiler/M2GenGCC.mod (CodeStatement): Remove parameters + to CodeEqu and CodeNotEqu. + (PerformCodeIfEqu): New procedure. + (CodeIfEqu): Rewrite. + (PerformCodeIfNotEqu): New procedure. + (CodeIfNotEqu): Rewrite. + * gm2-compiler/M2Quads.mod (BuildRelOpFromBoolean): Correct + comment. + 2024-03-11 Gaius Mulley PR modula2/114295 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 17d0558957e..b8e5161ea61 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,77 @@ +2024-03-14 Gaius Mulley + + PR modula2/114294 + * gm2/pim/pass/log: Removed. + * gm2/pim/pass/highexp.mod: New test. + +2024-03-14 Jakub Jelinek + + PR middle-end/113907 + * gcc.dg/pr113907-1.c: New test. + +2024-03-14 Gaius Mulley + + PR modula2/114333 + * gm2/pim/fail/badset5.mod: New test. + * gm2/pim/fail/badset6.mod: New test. + +2024-03-14 Thomas Schwinge + + * c-c++-common/goacc/readonly-1.c: Add basic OpenACC 'declare' + testing. + * gfortran.dg/goacc/readonly-1.f90: Likewise. + +2024-03-14 Jakub Jelinek + + PR target/114310 + * gcc.dg/pr114310.c: New test. + +2024-03-14 Juergen Christ + + * gcc.target/s390/htm-builtins-1.c: Fix. + * gcc.target/s390/htm-builtins-2.c: Fix. + +2024-03-14 Lewis Hyatt + + PR preprocessor/110558 + * c-c++-common/cpp/has-include-2.c: New test. + * c-c++-common/cpp/has-include-2.h: New test. + +2024-03-14 Lewis Hyatt + + * lib/gcc-defs.exp (dg-additional-options): Make $srcdir usable in a + dg-additional-options directive. + * c-c++-common/cpp/has-include-next-2-dir/has-include-next-2.h: New test. + * c-c++-common/cpp/has-include-next-2.c: New test. + +2024-03-14 Gaius Mulley + + PR modula2/114333 + * gm2/cse/pass/testcse54.mod: New test. + * gm2/iso/run/pass/array9.mod: New test. + * gm2/iso/run/pass/strcons3.mod: New test. + * gm2/iso/run/pass/strcons4.mod: New test. + * gm2/pim/fail/badset1.mod: New test. + * gm2/pim/fail/badset2.mod: New test. + * gm2/pim/fail/badset3.mod: New test. + * gm2/pim/fail/badset4.mod: New test. + +2024-03-14 Chung-Lin Tang + + * c-c++-common/goacc/readonly-1.c: New test. + * gfortran.dg/goacc/readonly-1.f90: New test. + +2024-03-14 Andreas Krebbel + + * gcc.target/s390/aligned-1.c: Add weak and void variables + incorporating the cases from unaligned-2.c. + * gcc.target/s390/unaligned-1.c: Likewise. + * gcc.target/s390/unaligned-2.c: Removed. + +2024-03-14 liuhongt + + * g++.target/i386/pr111822.C: New test. + 2024-03-13 Harald Anlauf PR fortran/114001 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 3cbc8f9f910..879a5737860 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,19 @@ +2024-03-14 Lewis Hyatt + + PR preprocessor/110558 + * macro.cc (builtin_has_include): Set + pfile->state.directive_wants_padding prior to lexing the + file name, in case it comes from macro expansion. + +2024-03-14 Lewis Hyatt + + PR preprocessor/80755 + * files.cc (search_path_head): Add SUPPRESS_DIAGNOSTIC argument + defaulting to false. + (_cpp_has_header): Silently return false if the search path has been + exhausted, rather than issuing a diagnostic and then hitting an + assert. + 2024-02-22 Jakub Jelinek PR c/114007 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index c7ff790cda3..09bc8bdc97d 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2024-03-14 Thomas Schwinge + + * testsuite/libgomp.oacc-fortran/acc-memcpy.f90: Fix 'char' + initialization, copy, check. + 2024-03-13 Tobias Burnus PR fortran/114283 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c7a66aef078..ac5e6e921fd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,75 @@ +2024-03-14 Jonathan Wakely + + PR libstdc++/114325 + * include/std/format (_Scanner::_M_scan): Pass correct length to + __to_chars_10_impl. + * testsuite/std/format/functions/format.cc: Check negative + integers with empty format-spec. + +2024-03-14 Jonathan Wakely + + * include/bits/stl_algo.h (find_end, all_of, none_of, any_of) + (find_if_not, is_partitioned, partition_point, remove) + (remove_if, unique, lower_bound, upper_bound, equal_range) + (binary_search, includes, is_sorted, is_sorted_until, minmax) + (minmax_element, is_permutation, clamp, find_if, find_first_of) + (adjacent_find, count, count_if, search, search_n, min_element) + (max_element): Add nodiscard attribute. + * include/bits/stl_algobase.h (min, max, lower_bound, equal) + (lexicographical_compare, lexicographical_compare_three_way) + (mismatch): Likewise. + * include/bits/stl_heap.h (is_heap, is_heap_until): Likewise. + * testsuite/25_algorithms/equal/debug/1_neg.cc: Add dg-warning. + * testsuite/25_algorithms/equal/debug/2_neg.cc: Likewise. + * testsuite/25_algorithms/equal/debug/3_neg.cc: Likewise. + * testsuite/25_algorithms/find_first_of/concept_check_1.cc: + Likewise. + * testsuite/25_algorithms/is_permutation/2.cc: Likewise. + * testsuite/25_algorithms/lexicographical_compare/71545.cc: + Likewise. + * testsuite/25_algorithms/lower_bound/33613.cc: Likewise. + * testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: + Likewise. + * testsuite/25_algorithms/lower_bound/debug/partitioned_neg.cc: + Likewise. + * testsuite/25_algorithms/lower_bound/debug/partitioned_pred_neg.cc: + Likewise. + * testsuite/25_algorithms/minmax/3.cc: Likewise. + * testsuite/25_algorithms/search/78346.cc: Likewise. + * testsuite/25_algorithms/search_n/58358.cc: Likewise. + * testsuite/25_algorithms/unique/1.cc: Likewise. + * testsuite/25_algorithms/unique/11480.cc: Likewise. + * testsuite/25_algorithms/upper_bound/33613.cc: Likewise. + * testsuite/25_algorithms/upper_bound/debug/partitioned_neg.cc: + Likewise. + * testsuite/25_algorithms/upper_bound/debug/partitioned_pred_neg.cc: + Likewise. + * testsuite/ext/concept_checks.cc: Likewise. + * testsuite/ext/is_heap/47709.cc: Likewise. + * testsuite/ext/is_sorted/cxx0x.cc: Likewise. + +2024-03-14 xndcn + + * include/bits/atomic_base.h (__atomic_float::__atomic_float(Fp)): + Clear padding. + * testsuite/29_atomics/atomic_float/compare_exchange_padding.cc: + New test. + +2024-03-14 Jonathan Wakely + + PR libstdc++/66146 + * doc/xml/manual/status_cxx2011.xml: Remove mention of Linux in + note about std::call_once. + * doc/xml/manual/status_cxx2014.xml: Likewise. + * doc/xml/manual/status_cxx2017.xml: Likewise. + * doc/html/manual/status.html: Regenerate. + +2024-03-14 Jonathan Wakely + + * doc/xml/manual/status_cxx2023.xml: Update C++23 status table. + * doc/html/manual/status.html: Regenerate. + * include/bits/version.def: Fix typo in comment. + 2024-03-13 Jonathan Wakely * testsuite/libstdc++-prettyprinters/cxx11.cc: Move custom_cat -- 2.11.4.GIT