aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-01-28 00:16:32 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-01-28 00:16:32 +0000
commit99f17e996f21d0ed64c36ed1e52977b705143522 (patch)
tree1e24a0cf5cc85653732bab9e686c86e321c76032
parenteae41b4d2cc30327f9f15c7390438c46aa09ed3f (diff)
downloadgcc-99f17e996f21d0ed64c36ed1e52977b705143522.zip
gcc-99f17e996f21d0ed64c36ed1e52977b705143522.tar.gz
gcc-99f17e996f21d0ed64c36ed1e52977b705143522.tar.bz2
Daily bump.
-rw-r--r--contrib/ChangeLog13
-rw-r--r--gcc/ChangeLog47
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog54
-rw-r--r--gcc/cp/ChangeLog34
-rw-r--r--gcc/fortran/ChangeLog17
-rw-r--r--gcc/testsuite/ChangeLog90
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libstdc++-v3/ChangeLog20
9 files changed, 280 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index a334aa5..42029e8 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,16 @@
+2022-01-27 Martin Liska <mliska@suse.cz>
+
+ * git-undescr.sh: Support full output of git-descr.sh.
+
+2022-01-27 Martin Liska <mliska@suse.cz>
+ Martin Jambor <mjambor@suse.cz>
+
+ * 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 <mliska@suse.cz>
* gcc-changelog/git_commit.py: New files in toplev must
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d4a8ab0..7b9ef63 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,50 @@
+2022-01-27 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/99895
+ * tree.cc (build_call_vec): Add const to second parameter.
+ * tree.h (build_call_vec): Likewise.
+
+2022-01-27 Martin Liska <mliska@suse.cz>
+
+ 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 <linkw@linux.ibm.com>
+
+ 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 <cltang@codesourcery.com>
+
+ 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 <jakub@redhat.com>
+
+ 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 <jakub@redhat.com>
PR target/104239
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 4e4f0c2..5f74118 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220127
+20220128
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index fc4627b..167f1b8 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,57 @@
+2022-01-27 David Malcolm <dmalcolm@redhat.com>
+
+ * 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 <mliska@suse.cz>
+
+ 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 <dmalcolm@redhat.com>
PR analyzer/104224
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 036b6b4..4301b5c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,37 @@
+2022-01-27 Jason Merrill <jason@redhat.com>
+
+ 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 <ppalka@redhat.com>
+
+ 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 <ppalka@redhat.com>
+
+ 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 <polacek@redhat.com>
+
+ 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 <jason@redhat.com>
PR c++/104206
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index a55e851..877f345 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,20 @@
+2022-01-27 Harald Anlauf <anlauf@gmx.de>
+
+ 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 <anlauf@gmx.de>
+
+ 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 <anlauf@gmx.de>
PR fortran/104227
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6db5f1e..012e2c3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,93 @@
+2022-01-27 David Malcolm <dmalcolm@redhat.com>
+
+ * 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 <jason@redhat.com>
+
+ PR c++/104245
+ PR c++/51344
+ * g++.dg/lto/alignas1_0.C: New test.
+
+2022-01-27 Uroš Bizjak <ubizjak@gmail.com>
+
+ * 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 <anlauf@gmx.de>
+
+ PR fortran/104128
+ * gfortran.dg/transfer_simplify_14.f90: New test.
+
+2022-01-27 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/82632
+ * g++.dg/cpp1z/class-deduction104.C: New test.
+ * g++.dg/cpp1z/class-deduction105.C: New test.
+
+2022-01-27 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/84784
+ * gfortran.dg/pr84784.f90: New test.
+
+2022-01-27 Patrick Palka <ppalka@redhat.com>
+
+ 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 <ppalka@redhat.com>
+
+ 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 <polacek@redhat.com>
+
+ 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 <linkw@linux.ibm.com>
+
+ PR target/103702
+ * gcc.target/powerpc/pr103702.c: New test.
+
+2022-01-27 Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR middle-end/103642
+ * c-c++-common/gomp/pr103642.c: New test.
+
+2022-01-27 Andrew Pinski <apinski@marvell.com>
+
+ 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 <jakub@redhat.com>
+
+ PR tree-optimization/104196
+ * gcc.c-torture/execute/pr104196.c: New test.
+
2022-01-26 Jakub Jelinek <jakub@redhat.com>
PR target/104239
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index efa609f..c3ebcb3 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2022-01-27 Tobias Burnus <tobias@codesourcery.com>
+
+ * libgomp.texi (OpenMP 5.0): Update implementation status.
+
2022-01-21 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Strengthen.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 45cf5c6..a31413c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,23 @@
+2022-01-27 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/100516
+ * include/bits/deque.tcc (_M_range_initialize<ForwardIterator>):
+ Add __builtin_unreachable to loop.
+ * testsuite/23_containers/deque/100516.cc: New test.
+
+2022-01-27 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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 <mliska@suse.cz>
+
+ PR libstdc++/104259
+ * acinclude.m4: Fix typo.
+ * configure: Regenerate.
+
2022-01-25 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/104019