From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 2BE633858C66; Fri, 12 Jan 2024 00:18:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2BE633858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705018709; bh=1LkqaNMNm//tNqGkXf+rUfA8g98thHdKYxz1fwXMESY=; h=From:To:Subject:Date:From; b=vEObqMePCmRPa8j4M/pWGRLqy8s/vNDWsPeFJJe+ibyu3vBgv0VXfF9zkkCLdXaOI j8H3HK2cZ9npYMW9A79YTBq0THS5h9+pwe562KB7aeM6hAXdGIM6qib4N2RHsMxfIx El/Mxx7kwt2gqvYDHrE1AmEN17UOKTkfsaB+Y0Ww= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-7159] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: b5476e4c881b0d2bfbbfb84ee38d791123acf8e1 X-Git-Newrev: 1a80e9558dd7fed1a9d22b3606489f72e4dd8c20 Message-Id: <20240112001829.2BE633858C66@sourceware.org> Date: Fri, 12 Jan 2024 00:18:28 +0000 (GMT) List-Id: https://gcc.gnu.org/g:1a80e9558dd7fed1a9d22b3606489f72e4dd8c20 commit r14-7159-g1a80e9558dd7fed1a9d22b3606489f72e4dd8c20 Author: GCC Administrator Date: Fri Jan 12 00:17:54 2024 +0000 Daily bump. Diff: --- config/ChangeLog | 4 ++ contrib/ChangeLog | 5 ++ gcc/ChangeLog | 134 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 5 ++ gcc/c/ChangeLog | 32 ++++++++++++ gcc/cp/ChangeLog | 13 +++++ gcc/m2/ChangeLog | 29 +++++++++++ gcc/testsuite/ChangeLog | 118 ++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 6 +++ libstdc++-v3/ChangeLog | 73 ++++++++++++++++++++++++++ 11 files changed, 420 insertions(+), 1 deletion(-) diff --git a/config/ChangeLog b/config/ChangeLog index d4234c9469d..5998f095df5 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2024-01-11 Mike Frysinger + + * acinclude.m4 (CYG_AC_PATH_LIBERTY): Delete. + 2023-11-30 Rainer Orth * hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): Require diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 04bde02b65b..0d94109b2a4 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2024-01-11 Paul Iannetta + + * dg-extract-results.py: Make the test_run regex case + insensitive. + 2024-01-09 Jonathan Wakely * unicode/gen_libstdcxx_unicode_data.py: Print out Gcb_property diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1151cf0b4b4..380c7d9b2b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,137 @@ +2024-01-11 Jin Ma + + * config/riscv/thead.md: Add limits for splits. + +2024-01-11 Andrew Pinski + + PR middle-end/113322 + * expr.cc (do_store_flag): Don't try single bit tests with + comparison on vector types. + +2024-01-11 Andrew Pinski + + PR tree-optimization/113301 + * match.pd (`1/x`): Delay signed case until late. + +2024-01-11 Georg-Johann Lay + + * doc/invoke.texi (AVR Options): Move -mrmw, -mn-flash, -mshort-calls + and -msp8 to... + (AVR Internal Options): ...this new @subsubsection. + +2024-01-11 Vladimir N. Makarov + + PR rtl-optimization/112918 + * lra-constraints.cc (SMALL_REGISTER_CLASS_P): Move before in_class_p. + (in_class_p): Restrict condition for narrowing class in case of + allow_all_reload_class_changes_p. + (process_alt_operands): Try to match operand without and with + narrowing reg class. Discourage narrowing the class. Finish insn + matching only if there is no class narrowing. + (curr_insn_transform): Pass true to in_class_p for reg operand win. + +2024-01-11 Richard Biener + + PR tree-optimization/112505 + * tree-vect-loop.cc (vectorizable_induction): Reject + bit-precision induction. + +2024-01-11 Richard Biener + + PR tree-optimization/113126 + * match.pd ((double)float CMP (double)float -> float CMP float): + Make sure the boolean type is the same. + * fold-const.cc (fold_binary_loc): Likewise. + +2024-01-11 Richard Biener + + PR tree-optimization/112636 + * tree-ssa-loop-ch.cc (ch_base::copy_headers): Call + estimate_numbers_of_iterations before querying + get_max_loop_iterations_int. + (pass_ch::execute): Initialize SCEV and loops appropriately. + +2024-01-11 Georg-Johann Lay + + * config/avr/avr-devices.cc (avr_texinfo): Adjust documentation for + Reduced Tiny. + * config/avr/gen-avr-mmcu-texi.cc (main): Add @anchor for each core. + * doc/extend.texi (AVR Variable Attributes): Improve documentation + of io, io_low and address attributes. + * doc/invoke.texi (AVR Options): Add some anchors for external refs. + * doc/avr-mmcu.texi: Rebuild. + +2024-01-11 Yang Yujie + + PR target/113233 + * config/loongarch/genopts/loongarch.opt.in: Mark options with + the "Save" property. + * config/loongarch/loongarch.opt: Same. + * config/loongarch/loongarch-opts.cc: Refresh -mcmodel= state + according to la_target. + * config/loongarch/loongarch.cc: Implement TARGET_OPTION_{SAVE, + RESTORE} for the la_target structure; Rename option conditions + to have the same "la_" prefix. + * config/loongarch/loongarch.h: Same. + +2024-01-11 Pan Li + + * loop-unroll.cc (insert_var_expansion_initialization): Leverage + MODE_HAS_SIGNED_ZEROS for expansion variable initialization. + +2024-01-11 Alex Coplan + + PR target/113077 + * config/aarch64/aarch64-ldp-fusion.cc (filter_notes): Add + fr_expr param to extract REG_FRAME_RELATED_EXPR notes. + (combine_reg_notes): Handle REG_FRAME_RELATED_EXPR notes, and + synthesize these if needed. Update caller ... + (ldp_bb_info::fuse_pair): ... here. + (ldp_bb_info::try_fuse_pair): Punt if either insn has writeback + and either insn is frame-related. + (find_trailing_add): Punt on frame-related insns. + * config/aarch64/aarch64.cc (aarch64_save_callee_saves): Use + REG_FRAME_RELATED_EXPR instead of REG_CFA_OFFSET. + +2024-01-11 YunQiang Su + + * config/mips/mips.cc (mips_start_function_definition): + Add ATTRIBUTE_UNUSED. + +2024-01-11 Richard Biener + + PR middle-end/112740 + * expr.cc (store_constructor): Check the integer vector + mask has a single bit per element before using sign-extension + to expand an uniform vector. + +2024-01-11 Juzhe-Zhong + + * config/riscv/riscv-vector-costs.cc (costs::better_main_loop_than_p): VLA + preempt VLS on unknown NITERS loop. + +2024-01-11 Haochen Jiang + + * doc/invoke.texi: Add -mevex512. + +2024-01-11 Lulu Cheng + + * config/loongarch/loongarch.md (one_cmpl2): Replace GPR with X. + (*nor3): Likewise. + (nor3): Likewise. + (*negsi2_extended): New template. + (*si3_internal): Likewise. + (*one_cmplsi2_internal): Likewise. + (*norsi3_internal): Likewise. + (*nsi_internal): Likewise. + (bytepick_w__extend): Modify this template according to the + modified bit operation to make the optimization work. + +2024-01-11 liuhongt + + PR target/104401 + * match.pd (VEC_COND_EXPR: A < B ? A : B -> MIN_EXPR): New patten match. + 2024-01-10 Juzhe-Zhong * config/riscv/riscv.cc (get_common_costs): Switch RVV cost model. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f62216e5602..8f71cba266d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240111 +20240112 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 5c62920a538..47019bd346b 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2024-01-11 Julian Brown + + * c-pretty-print.cc (c_pretty_printer::postfix_expression, + c_pretty_printer::expression): Add OMP_ARRAY_SECTION support. + 2024-01-09 waffl3x PR c++/102609 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 683964dd926..e312398512d 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,35 @@ +2024-01-11 Julian Brown + + * c-parser.cc (c_parser_braced_init, c_parser_conditional_expression): + Don't allow OpenMP array section. + (c_parser_postfix_expression): Don't allow array section in statement + expression. + (c_parser_postfix_expression_after_primary): Add support for OpenMP + array section parsing. + (c_parser_expr_list): Don't allow OpenMP array section here. + (c_parser_omp_variable_list): Change ALLOW_DEREF parameter to + MAP_LVALUE. Support parsing of general lvalues in "map", "to" and + "from" clauses. + (c_parser_omp_var_list_parens): Change ALLOW_DEREF parameter to + MAP_LVALUE. Update call to c_parser_omp_variable_list. + (c_parser_oacc_data_clause): Update calls to + c_parser_omp_var_list_parens. + (c_parser_omp_clause_reduction): Use OMP_ARRAY_SECTION tree node + instead of TREE_LIST for array sections. + (c_parser_omp_target): Allow GOMP_MAP_ATTACH. + * c-tree.h (c_omp_array_section_p): Add extern declaration. + (build_omp_array_section): Add prototype. + * c-typeck.cc (c_omp_array_section_p): Add flag. + (mark_exp_read): Support OMP_ARRAY_SECTION. + (build_omp_array_section): Add function. + (build_external_ref): Tweak error path for OpenMP array sections. + (handle_omp_array_sections_1): Use OMP_ARRAY_SECTION tree code instead + of TREE_LIST. Handle more kinds of expressions. + (c_oacc_check_attachments): Use OMP_ARRAY_SECTION instead of TREE_LIST + for array sections. + (c_finish_omp_clauses): Use OMP_ARRAY_SECTION instead of TREE_LIST. + Check for supported expression types. + 2024-01-09 Tamar Christina PR c/113267 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7b183c60444..6fc59fcca22 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,16 @@ +2024-01-11 Jason Merrill + + PR c++/113191 + * class.cc (xobj_iobj_parameters_correspond): Add context parm. + (object_parms_correspond): Factor out of... + (add_method): ...here. + * method.cc (defaulted_late_check): Use it. + * call.cc (class_of_implicit_object): New. + (object_parms_correspond): Overload taking two candidates. + (cand_parms_match): Use it. + (joust): Check reversed before comparing constraints. + * cp-tree.h (object_parms_correspond): Declare. + 2024-01-10 Tamar Christina * parser.cc (cp_parser_pragma): Initialize to false. diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index ca4a134a836..c1904d852fa 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,32 @@ +2024-01-11 Gaius Mulley + + PR modula2/112946 + * gm2-compiler/M2GenGCC.mod (IsExpressionCompatible): Import. + (ExpressionTypeCompatible): Import. + (CodeStatement): Remove op1, op2, op3 parameters from CodeSetOr, + CodeSetAnd, CodeSetSymmetricDifference, CodeSetLogicalDifference. + (checkArrayElements): Rename op1 to des and op3 to expr. + Use despos and exprpos instead of CurrentQuadToken. + (checkRecordTypes): Rename op1 to des and op2 to expr. + Use virtpos instead of CurrentQuadToken. + (checkIncorrectMeta): Ditto. + (checkBecomes): Rename op1 to des and op3 to expr. + Use virtpos instead of CurrentQuadToken. + (NoWalkProcedure): New procedure stub. + (CheckBinaryExpressionTypes): New procedure function. + (CheckElementSetTypes): New procedure function. + (CodeBinarySet): Re-write. + (FoldBinarySet): Re-write. + (CodeSetOr): Remove parameters op1, op2 and op3. + (CodeSetAnd): Ditto. + (CodeSetLogicalDifference): Ditto. + (CodeSetSymmetricDifference): Ditto. + (CodeIfIn): Call CheckBinaryExpressionTypes and + CheckElementSetTypes. + * gm2-compiler/M2Quads.mod (BuildRotateFunction): Correct + parameters to MakeVirtualTok to reflect parameter block + passed to Rotate. + 2024-01-09 Gaius Mulley PR modula2/112920 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index af068a85bb1..5c680732df7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,121 @@ +2024-01-11 Julian Brown + + * gcc.dg/gomp/bad-array-section-c-1.c: New test. + * gcc.dg/gomp/bad-array-section-c-2.c: New test. + * gcc.dg/gomp/bad-array-section-c-3.c: New test. + * gcc.dg/gomp/bad-array-section-c-4.c: New test. + * gcc.dg/gomp/bad-array-section-c-5.c: New test. + * gcc.dg/gomp/bad-array-section-c-6.c: New test. + * gcc.dg/gomp/bad-array-section-c-7.c: New test. + * gcc.dg/gomp/bad-array-section-c-8.c: New test. + +2024-01-11 Jason Merrill + + PR c++/113191 + * g++.dg/cpp2a/concepts-memfun4.C: New test. + +2024-01-11 Jin Ma + + * gcc.target/riscv/xtheadfmemidx-medany.c: New test. + +2024-01-11 Andrew Pinski + + PR middle-end/113322 + * gcc.c-torture/compile/pr113322-1.c: New test. + +2024-01-11 Andrew Pinski + + PR tree-optimization/113301 + * gcc.dg/tree-ssa/divide-8.c: New test. + +2024-01-11 Jason Merrill + + * g++.dg/cpp23/explicit-obj-diagnostics7.C: Remove xfail. + +2024-01-11 Tamar Christina + + PR testsuite/113319 + * gcc.dg/bic-bitmask-13.c: Remove -save-temps. + * gcc.dg/bic-bitmask-14.c: Likewise. + * gcc.dg/bic-bitmask-15.c: Likewise. + * gcc.dg/bic-bitmask-16.c: Likewise. + * gcc.dg/bic-bitmask-17.c: Likewise. + * gcc.dg/bic-bitmask-18.c: Likewise. + * gcc.dg/bic-bitmask-19.c: Likewise. + * gcc.dg/bic-bitmask-20.c: Likewise. + * gcc.dg/bic-bitmask-21.c: Likewise. + * gcc.dg/bic-bitmask-22.c: Likewise. + * gcc.dg/bic-bitmask-7.c: Likewise. + * gcc.dg/vect/vect-early-break-run_1.c: Likewise. + * gcc.dg/vect/vect-early-break-run_10.c: Likewise. + * gcc.dg/vect/vect-early-break-run_2.c: Likewise. + * gcc.dg/vect/vect-early-break-run_3.c: Likewise. + * gcc.dg/vect/vect-early-break-run_4.c: Likewise. + * gcc.dg/vect/vect-early-break-run_5.c: Likewise. + * gcc.dg/vect/vect-early-break-run_6.c: Likewise. + * gcc.dg/vect/vect-early-break-run_7.c: Likewise. + * gcc.dg/vect/vect-early-break-run_8.c: Likewise. + * gcc.dg/vect/vect-early-break-run_9.c: Likewise. + +2024-01-11 Richard Biener + + PR tree-optimization/112505 + * gcc.dg/vect/pr112505.c: New testcase. + +2024-01-11 Richard Biener + + PR tree-optimization/113126 + * gcc.dg/torture/pr113126.c: New testcase. + +2024-01-11 Richard Biener + + PR tree-optimization/112636 + * gcc.dg/pr112636.c: New testcase. + +2024-01-11 Pan Li + + * gcc.dg/pr30957-1.c: Remove. + +2024-01-11 Alex Coplan + + PR target/113077 + * gcc.target/aarch64/pr113077.c: New test. + +2024-01-11 Richard Biener + + PR tree-optimization/111003 + * gcc.dg/tree-ssa/pr111003.c: New testcase. + +2024-01-11 Richard Biener + + PR middle-end/112740 + * gcc.dg/pr112740.c: New testcase. + +2024-01-11 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/partial/slp-1.c: Remove xfail. + * gcc.target/riscv/rvv/autovec/partial/slp-16.c: Ditto. + * gcc.target/riscv/rvv/autovec/partial/slp-3.c: Ditto. + * gcc.target/riscv/rvv/autovec/partial/slp-5.c: Ditto. + +2024-01-11 Lulu Cheng + + * gcc.target/loongarch/sign-extend-bitwise.c: New test. + +2024-01-11 liuhongt + + * gcc.target/i386/pr104401.c: New test. + * gcc.dg/tree-ssa/pr95906.c: Adjust testcase. + +2024-01-11 Gaius Mulley + + PR modula2/112946 + * gm2/pim/fail/badbecomes.mod: New test. + * gm2/pim/fail/badexpression.mod: New test. + * gm2/pim/fail/badexpression2.mod: New test. + * gm2/pim/fail/badifin.mod: New test. + * gm2/pim/pass/goodifin.mod: New test. + 2024-01-10 Juzhe-Zhong * gcc.dg/vect/costmodel/riscv/rvv/vla_vs_vls-10.c: Fix test. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index acdd2113b63..e9b4da519f8 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2024-01-11 Julian Brown + + * libgomp.texi: C/C++ lvalues are supported now for map/to/from. + * testsuite/libgomp.c-c++-common/ind-base-4.c: New test. + * testsuite/libgomp.c-c++-common/unary-ptr-1.c: New test. + 2024-01-10 Jakub Jelinek PR libgomp/113192 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5b3e2d84140..bff9531a6e1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,76 @@ +2024-01-11 Jonathan Wakely + + * doc/xml/manual/evolution.xml: Fix spelling. + * doc/html/manual/api.html: Regenerate. + +2024-01-11 Jonathan Wakely + + * doc/xml/manual/evolution.xml: Document addition of + libstdc++exp.a. + * doc/html/*: Regenerate. + +2024-01-11 Marcus Haehnel + + * libsupc++/eh_unex_handler.cc: Adjust definition type to + declaration. + +2024-01-11 Michael Levine + + * include/std/ranges (__glibcxx_want_ranges_iota): Remove + duplicate definition. + +2024-01-11 François Dumont + + PR libstdc++/112477 + * src/c++11/debug.cc + (_Safe_iterator_base::_M_attach): Reset _M_version to 0 if attaching to null + sequence. + (_Safe_iterator_base::_M_attach_single): Likewise. + (_Safe_local_iterator_base::_M_attach): Likewise. + (_Safe_local_iterator_base::_M_attach_single): Likewise. + * testsuite/23_containers/map/debug/112477.cc: New test case. + +2024-01-11 Patrick Palka + + * include/bits/move.h (__like_t): Define in C++23 mode. + * include/std/ranges (views::__adaptor::Partial::operator()): + Implement using C++23 deducing this when available. + (views::__adaptor::_Pipe::operator()): Likewise. + * testsuite/std/ranges/adaptors/100577.cc: Adjust testcase to + accept new "no match for call" errors issued in C++23 mode. + * testsuite/std/ranges/adaptors/lazy_split_neg.cc: Likewise. + +2024-01-11 Jonathan Wakely + + * python/libstdcxx/v6/printers.py (StdIntegralConstantPrinter): + Add printer for std::integral_constant. + * testsuite/libstdc++-prettyprinters/cxx11.cc: Test it. + +2024-01-11 Jonathan Wakely + + PR libstdc++/113258 + * libsupc++/new_opa.cc: Prefer to use posix_memalign if + available. + +2024-01-11 Ken Matsui + + * src/filesystem/ops-common.h (stat_type): Use using. + +2024-01-11 Ken Matsui + + PR libstdc++/113250 + * src/c++17/fs_ops.cc (fs::equivalent): Use || instead of &&. + * src/filesystem/ops.cc (fs::equivalent): Likewise. + * testsuite/27_io/filesystem/operations/equivalent.cc: Handle + error codes. + * testsuite/experimental/filesystem/operations/equivalent.cc: + Likewise. + +2024-01-11 Ken Matsui + + * include/std/type_traits (is_compound): Do not use __not_. + (is_compound_v): Use is_fundamental_v instead. + 2024-01-11 Patrick Palka * include/bits/utility.h (_Nth_type): Use