From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 6E2EE385DC35; Fri, 28 Jan 2022 00:17:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E2EE385DC35 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 r12-6908] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: eae41b4d2cc30327f9f15c7390438c46aa09ed3f X-Git-Newrev: 99f17e996f21d0ed64c36ed1e52977b705143522 Message-Id: <20220128001705.6E2EE385DC35@sourceware.org> Date: Fri, 28 Jan 2022 00:17:05 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2022 00:17:05 -0000 https://gcc.gnu.org/g:99f17e996f21d0ed64c36ed1e52977b705143522 commit r12-6908-g99f17e996f21d0ed64c36ed1e52977b705143522 Author: GCC Administrator Date: Fri Jan 28 00:16:32 2022 +0000 Daily bump. Diff: --- contrib/ChangeLog | 13 +++++++ gcc/ChangeLog | 47 ++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 54 +++++++++++++++++++++++++++++ gcc/cp/ChangeLog | 34 +++++++++++++++++++ gcc/fortran/ChangeLog | 17 ++++++++++ gcc/testsuite/ChangeLog | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 4 +++ libstdc++-v3/ChangeLog | 20 +++++++++++ 9 files changed, 280 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index a334aa5a256..42029e88bc6 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,16 @@ +2022-01-27 Martin Liska + + * git-undescr.sh: Support full output of git-descr.sh. + +2022-01-27 Martin Liska + Martin Jambor + + * git-descr.sh: New file. + * git-undescr.sh: New file. + Support optional arguments --long, --short and default + to 14 characters of git hash. + * gcc-git-customization.sh: Use the created files. + 2022-01-24 Martin Liska * gcc-changelog/git_commit.py: New files in toplev must diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4a8ab0d3a8..7b9ef630d92 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,50 @@ +2022-01-27 Patrick Palka + + PR c++/99895 + * tree.cc (build_call_vec): Add const to second parameter. + * tree.h (build_call_vec): Likewise. + +2022-01-27 Martin Liska + + PR web/104254 + * diagnostic.cc (diagnostic_initialize): + Initialize report_bug flag. + (diagnostic_action_after_output): + Explain that -freport-bug option can be used for pre-processed + file creation. Make the message shorter. + (error_recursion): Rename Internal to internal. + * diagnostic.h (struct diagnostic_context): New field. + * opts.cc (common_handle_option): Init the field here. + +2022-01-27 Kewen Lin + + PR target/103702 + * config/rs6000/rs6000.cc + (rs6000_cost_data::update_target_cost_per_stmt): Fix one wrong + assertion with early return. + +2022-01-27 Chung-Lin Tang + + PR middle-end/103642 + * gimplify.cc (gimplify_scan_omp_clauses): Do not do indir_p handling + for non-pointer or non-reference-to-pointer cases. + +2022-01-27 Jakub Jelinek + + PR tree-optimization/104196 + * gimple-fold.h (rewrite_to_defined_overflow): Add IN_PLACE argument. + * gimple-fold.cc (rewrite_to_defined_overflow): Likewise. If true, + return NULL and emit needed stmts before and after stmt. + * tree-ssa-reassoc.cc (update_range_test): For inter-bb range opt + pick as operand_entry that will hold the merged test the one feeding + earliest condition, ensure that by swapping range->idx with some + other range's idx if needed. If seq is non-NULL, don't actually swap + it but instead rewrite stmts with undefined overflow in between + the two locations. + (maybe_optimize_range_tests): Set ops[]->id to bb->index with the + corresponding condition even if they have non-NULL ops[]->op. + Formatting fix. + 2022-01-26 Jakub Jelinek PR target/104239 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 4e4f0c27ccf..5f741186d8e 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220127 +20220128 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index fc4627bc111..167f1b80f8c 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,57 @@ +2022-01-27 David Malcolm + + * checker-path.cc (event_kind_to_string): Handle + EK_REGION_CREATION. + (region_creation_event::region_creation_event): New. + (region_creation_event::get_desc): New. + (checker_path::add_region_creation_event): New. + * checker-path.h (enum event_kind): Add EK_REGION_CREATION. + (class region_creation_event): New subclass. + (checker_path::add_region_creation_event): New decl. + * diagnostic-manager.cc + (diagnostic_manager::emit_saved_diagnostic): Pass NULL for new + param to add_events_for_eedge when handling trailing eedge. + (diagnostic_manager::build_emission_path): Create an interesting_t + instance, allow the pending diagnostic to populate it, and pass it + to the calls to add_events_for_eedge. + (diagnostic_manager::add_events_for_eedge): Add "interest" param. + Use it to add region_creation_events for on-stack regions created + within at function entry, and when pertinent dynamically-sized + regions are created. + (diagnostic_manager::prune_for_sm_diagnostic): Add case for + EK_REGION_CREATION. + * diagnostic-manager.h (diagnostic_manager::add_events_for_eedge): + Add "interest" param. + * pending-diagnostic.cc: Include "selftest.h", "tristate.h", + "analyzer/call-string.h", "analyzer/program-point.h", + "analyzer/store.h", and "analyzer/region-model.h". + (interesting_t::add_region_creation): New. + (interesting_t::dump_to_pp): New. + * pending-diagnostic.h (struct interesting_t): New. + (pending_diagnostic::mark_interesting_stuff): New vfunc. + * region-model.cc + (poisoned_value_diagnostic::poisoned_value_diagnostic): Add + (poisoned_value_diagnostic::operator==): Compare m_pkind and + m_src_region fields. + (poisoned_value_diagnostic::mark_interesting_stuff): New. + (poisoned_value_diagnostic::m_src_region): New. + (region_model::check_for_poison): Call + get_region_for_poisoned_expr for uninit values and pass the resul + to the diagnostic. + (region_model::get_region_for_poisoned_expr): New. + (region_model::deref_rvalue): Pass NULL for + poisoned_value_diagnostic's src_region. + * region-model.h (region_model::get_region_for_poisoned_expr): New + decl. + * region.h (frame_region::get_fndecl): New. + +2022-01-27 Martin Liska + + PR analyzer/104247 + * constraint-manager.cc (bounded_ranges_manager::log_stats): + Cast to long for format purpose. + * region-model-manager.cc (log_uniq_map): Likewise. + 2022-01-26 David Malcolm PR analyzer/104224 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 036b6b4f689..4301b5c81a9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,37 @@ +2022-01-27 Jason Merrill + + PR c++/104245 + PR c++/51344 + * decl2.cc (save_template_attributes): Take late attrs as parm. + (cplus_decl_attributes): Call it after decl_attributes, + splice_template_attributes before. + +2022-01-27 Patrick Palka + + PR c++/99895 + * call.cc (build_over_call): For a non-dependent member call, + build up a CALL_EXPR using a COMPONENT_REF callee, as in + build_new_method_call. + * pt.cc (build_non_dependent_expr): Don't wrap PARM_DECL either. + * tree.cc (build_min_non_dep_op_overload): Adjust accordingly + after the build_over_call change. + +2022-01-27 Patrick Palka + + PR c++/92944 + PR c++/103678 + * parser.cc (cp_parser_class_head): Update 'type' with the result + of maybe_process_partial_specialization in the + nested_name_specifier branch. Refactor nearby code to accomodate + that maybe_process_partial_specialization returns a _TYPE, not a + TYPE_DECL, and eliminate local variable 'class_type' in passing. + +2022-01-27 Marek Polacek + + PR c++/101988 + * decl.cc (create_array_type_for_decl): Reject forming an array of + placeholder for a deduced class type. + 2022-01-26 Jason Merrill PR c++/104206 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a55e851e814..877f345dbfb 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2022-01-27 Harald Anlauf + + PR fortran/104128 + * expr.cc (gfc_copy_expr): Convert internal representation of + string to wide char in value only for default character kind. + * target-memory.cc (interpret_array): Pass flag for conversion of + wide chars. + (gfc_target_interpret_expr): Likewise. + +2022-01-27 Harald Anlauf + + PR fortran/84784 + * trans-intrinsic.cc (conv_intrinsic_image_status): Convert result + to resulting (default) integer type. + (conv_intrinsic_team_number): Likewise. + (gfc_conv_intrinsic_popcnt_poppar): Likewise. + 2022-01-25 Harald Anlauf PR fortran/104227 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6db5f1ed746..012e2c3cf92 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,93 @@ +2022-01-27 David Malcolm + + * gcc.dg/analyzer/data-model-1.c: Add dg-message directives for + expected region creation events. + * gcc.dg/analyzer/malloc-1.c: Likewise. + * gcc.dg/analyzer/memset-CVE-2017-18549-1.c: Likewise. + * gcc.dg/analyzer/pr101547.c: Likewise. + * gcc.dg/analyzer/pr101875.c: Likewise. + * gcc.dg/analyzer/pr101962.c: Likewise. + * gcc.dg/analyzer/pr104224.c: Likewise. + * gcc.dg/analyzer/pr94047.c: Likewise. + * gcc.dg/analyzer/symbolic-1.c: Likewise. + * gcc.dg/analyzer/uninit-1.c: Likewise. + * gcc.dg/analyzer/uninit-4.c: Likewise. + * gcc.dg/analyzer/uninit-alloca.c: New test. + * gcc.dg/analyzer/uninit-pr94713.c: Add dg-message directive for + expected region creation event. + * gcc.dg/analyzer/uninit-pr94714.c: Likewise. + * gcc.dg/analyzer/zlib-3.c: Likewise. + +2022-01-27 Jason Merrill + + PR c++/104245 + PR c++/51344 + * g++.dg/lto/alignas1_0.C: New test. + +2022-01-27 Uroš Bizjak + + * gfortran.dg/ieee/signaling_1.f90 (dg-do): + Run only on non-ia32 targets. + * gfortran.dg/ieee/signaling_2.f90 (dg-do): Ditto. + * gfortran.dg/ieee/signaling_3.f90 (dg-do): Ditto. + +2022-01-27 Harald Anlauf + + PR fortran/104128 + * gfortran.dg/transfer_simplify_14.f90: New test. + +2022-01-27 Patrick Palka + + PR c++/82632 + * g++.dg/cpp1z/class-deduction104.C: New test. + * g++.dg/cpp1z/class-deduction105.C: New test. + +2022-01-27 Harald Anlauf + + PR fortran/84784 + * gfortran.dg/pr84784.f90: New test. + +2022-01-27 Patrick Palka + + PR c++/99895 + * g++.dg/cpp2a/consteval-memfn1.C: New test. + * g++.dg/cpp2a/consteval-memfn2.C: New test. + * g++.dg/cpp2a/consteval28.C: New test. + +2022-01-27 Patrick Palka + + PR c++/92944 + PR c++/103678 + * g++.dg/cpp2a/concepts-partial-spec10.C: New test. + * g++.dg/cpp2a/concepts-partial-spec11.C: New test. + +2022-01-27 Marek Polacek + + PR c++/101988 + * g++.dg/cpp1z/class-deduction-new1.C: New test. + * g++.dg/cpp23/auto-array2.C: New test. + +2022-01-27 Kewen Lin + + PR target/103702 + * gcc.target/powerpc/pr103702.c: New test. + +2022-01-27 Chung-Lin Tang + + PR middle-end/103642 + * c-c++-common/gomp/pr103642.c: New test. + +2022-01-27 Andrew Pinski + + PR target/104201 + * gcc.target/aarch64/branch-protection-attr.c: Fix quoting for + the expected error message on line 5 of leaf. + +2022-01-27 Jakub Jelinek + + PR tree-optimization/104196 + * gcc.c-torture/execute/pr104196.c: New test. + 2022-01-26 Jakub Jelinek PR target/104239 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index efa609fd6cc..c3ebcb3b6dd 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2022-01-27 Tobias Burnus + + * libgomp.texi (OpenMP 5.0): Update implementation status. + 2022-01-21 Thomas Schwinge * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Strengthen. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 45cf5c6067d..a31413c97f2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,23 @@ +2022-01-27 Jonathan Wakely + + PR libstdc++/100516 + * include/bits/deque.tcc (_M_range_initialize): + Add __builtin_unreachable to loop. + * testsuite/23_containers/deque/100516.cc: New test. + +2022-01-27 Jonathan Wakely + + * include/bits/ranges_base.h (ranges::advance): Avoid signed + overflow. Do nothing if already equal to desired result. + * testsuite/24_iterators/range_operations/advance_overflow.cc: + New test. + +2022-01-27 Martin Liska + + PR libstdc++/104259 + * acinclude.m4: Fix typo. + * configure: Regenerate. + 2022-01-25 Jonathan Wakely PR libstdc++/104019