summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-03-10 00:16:28 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-03-10 00:16:28 +0000
commit8cc4f9cd824d195178632569c749f96b306475f9 (patch)
treeacb75094f5b0db48a327387b289ec1631e000a3b
parent65857caee8ccfac5007a9fd0e5f18cce5e5fe934 (diff)
Daily bump.
-rw-r--r--ChangeLog6
-rw-r--r--contrib/ChangeLog6
-rw-r--r--gcc/ChangeLog45
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog9
-rw-r--r--gcc/c/ChangeLog13
-rw-r--r--gcc/cp/ChangeLog53
-rw-r--r--gcc/fortran/ChangeLog10
-rw-r--r--gcc/testsuite/ChangeLog80
-rw-r--r--libgcc/ChangeLog8
-rw-r--r--libstdc++-v3/ChangeLog7
11 files changed, 238 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2485aaaed78..b5062561da5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-09 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.def (dependencies): Make configure-sim depend on
+ all-readline.
+ * Makefile.in: Regenerate.
+
2022-02-22 Christophe Lyon <christophe.lyon@foss.st.com>
* MAINTAINERS (Write After Approval): Update my e-mail address.
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 1e3d4b8c224..4d7bbbb1ab5 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,9 @@
+2022-03-09 Jonathan Wakely <jwakely@redhat.com>
+
+ PR other/102664
+ * git-descr.sh: Use portable sed commands.
+ * git-undescr.sh: Likewise.
+
2022-03-08 Jonathan Wakely <jwakely@redhat.com>
PR other/102664
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d5413fdcd16..26ae44a1eec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,48 @@
+2022-03-09 Richard Biener <rguenther@suse.de>
+
+ * cfgexpand.cc (expand_gimple_asm): Special-case MEM_REF
+ with non-decl operand, avoiding a copy.
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/104781
+ * config/i386/i386.h (LIBGCC2_UNWIND_ATTRIBUTE): Define for ia32.
+
+2022-03-09 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/104786
+ * cfgexpand.cc (expand_asm_stmt): Do not generate a copy
+ for VLAs without an upper size bound.
+
+2022-03-09 Xi Ruoyao <xry111@mengyan1223.wang>
+
+ PR tree-optimization/104851
+ * optabs-query.cc (supports_vec_convert_optab_p): Fix off-by-one
+ error.
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/104711
+ * doc/invoke.texi (-Wextra): Document that -Wshift-negative-value
+ is enabled by it only for C++11 to C++17 rather than for C++03 or
+ later.
+ (-Wshift-negative-value): Similarly (except here we stated
+ that it is enabled for C++11 or later).
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/104839
+ * simplify-rtx.cc (simplify_unary_operation_1) <case SIGN_EXTEND>:
+ Use SRP_SIGNED instead of incorrect 1 in SUBREG_PROMOTED_SET.
+ (simplify_unary_operation_1) <case ZERO_EXTEND>: Use SRP_UNSIGNED
+ instead of incorrect 0 in SUBREG_PROMOTED_SET.
+
+2022-03-09 Xi Ruoyao <xry111@mengyan1223.wang>
+
+ PR target/104842
+ * config/mips/mips.h (LUI_OPERAND): Cast the input to an unsigned
+ value before adding an offset.
+
2022-03-08 Christophe Lyon <christophe.lyon@arm.com>
* config/arm/arm-builtins.cc
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index beef26c3450..284de79460a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220309
+20220310
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 764e1d2b7e4..a034d8fa991 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,12 @@
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/104711
+ * c-opts.cc (c_common_post_options): Don't enable
+ -Wshift-negative-value from -Wextra for C++20 or later.
+ * c-ubsan.cc (ubsan_instrument_shift): Adjust comments.
+ * c-warn.cc (maybe_warn_shift_overflow): Use TYPE_OVERFLOW_WRAPS
+ instead of TYPE_UNSIGNED.
+
2022-03-07 Jakub Jelinek <jakub@redhat.com>
* c-attribs.cc: Fix up duplicated word issue in a comment.
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 8f6bf718dbd..e97a42b09f8 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,16 @@
+2022-03-09 Joseph Myers <joseph@codesourcery.com>
+
+ * c-typeck.cc (function_types_compatible_p): Do not handle C2X
+ differently from earlier standards for unprototyped function type
+ compatibility.
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/104711
+ * c-fold.cc (c_fully_fold_internal): Don't emit
+ -Wshift-negative-value warning if TYPE_OVERFLOW_WRAPS.
+ * c-typeck.cc (build_binary_op): Likewise.
+
2022-03-07 Jakub Jelinek <jakub@redhat.com>
* c-parser.cc (c_parser_omp_clause_map): Add missing space in string
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e18ae41a4da..1aeacce647c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,56 @@
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104823
+ * except.cc (build_noexcept_spec): Strengthen dependence check
+ to instantiation_dependent_expression_p.
+ * parser.cc (cp_parser_parenthesized_expression_list_elt):
+ Remove fold_expr_p parameter, and don't call
+ instantiate_non_dependent_expr.
+ (cp_parser_parenthesized_expression_list): Adjust accordingly.
+ * pt.cc (expand_integer_pack): Strengthen dependence check
+ to instantiation_dependent_expression_p.
+ (instantiate_non_dependent_expr_internal): Adjust comment.
+ (instantiate_non_dependent_expr_sfinae): Likewise. Drop
+ the potentially-constant check, and relax and turn the
+ dependence check into a checking assert.
+ (instantiate_non_dependent_or_null): Adjust comment.
+ * semantics.cc (finish_decltype_type): Keep
+ processing_template_decl cleared after calling
+ instantiate_non_dependent_expr_sfinae.
+
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/102137
+ PR c++/87820
+ * cp-tree.h (is_copy_initialization): Declare.
+ * decl.cc (cp_finish_decl): Set LOOKUP_ONLYCONVERTING
+ when is_copy_initialization is true.
+ * init.cc (build_aggr_init): Split out copy-initialization
+ check into ...
+ (is_copy_initialization): ... here.
+ * pt.cc (instantiate_decl): Pass 0 instead of
+ LOOKUP_ONLYCONVERTING as flags to cp_finish_decl.
+
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/65396
+ * cp-tree.h (merge_default_template_args): Declare.
+ * decl.cc (merge_default_template_args): Define, factored out
+ from redeclare_class_template.
+ (duplicate_decls): Use it when merging member function template
+ and free function declarations.
+ * pt.cc (redeclare_class_template): Factor out default argument
+ merging logic into merge_default_template_args. Improve location
+ of a note when there's a template parameter kind mismatch.
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/104711
+ * constexpr.cc (cxx_eval_check_shift_p): Use TYPE_OVERFLOW_WRAPS
+ instead of TYPE_UNSIGNED.
+ * typeck.cc (cp_build_binary_op): Don't emit
+ -Wshift-negative-value warning if TYPE_OVERFLOW_WRAPS.
+
2022-03-08 Roger Sayle <roger@nextmovesoftware.com>
PR c++/96440
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index e0c71d0e20a..f49b8e2de9b 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,13 @@
+2022-03-09 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/104849
+ * expr.cc (find_array_section): Avoid NULL pointer dereference on
+ invalid array section.
+
+2022-03-09 Tobias Burnus <tobias@codesourcery.com>
+
+ * trans-intrinsic.cc (gfc_conv_intrinsic_sizeof): Fix CLASS handling.
+
2022-03-08 Tobias Burnus <tobias@codesourcery.com>
PR fortran/104126
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6eb76a05e4f..8073258408a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,83 @@
+2022-03-09 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/c11-unproto-1.c, gcc.dg/c11-unproto-2.c: Update comments.
+ * gcc.dg/c2x-unproto-1.c, gcc.dg/c2x-unproto-2.c: Expect same
+ results as in C11 mode. Update comments.
+
+2022-03-09 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/104849
+ * gfortran.dg/pr104849.f90: New test.
+
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/104823
+ * g++.dg/cpp0x/Wnarrowing19.C: New test.
+ * g++.dg/cpp0x/constexpr-attribute4.C: New file.
+
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/102137
+ PR c++/87820
+ * g++.dg/cpp0x/explicit15.C: New test.
+ * g++.dg/cpp1z/class-deduction108.C: New test.
+
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/65396
+ * g++.dg/cpp0x/vt-34314.C: Adjust expected location of
+ "redeclared here" note.
+ * g++.dg/template/pr92440.C: Likewise.
+ * g++.old-deja/g++.pt/redecl1.C: Adjust expected location of
+ "redefinition of default argument" error.
+ * g++.dg/template/defarg23.C: New test.
+ * g++.dg/template/defarg23a.C: New test.
+
+2022-03-09 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/104759
+ * gcc.dg/vect/vect-multitypes-12.c: Adjust.
+
+2022-03-09 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/104786
+ * gcc.dg/pr104786.c: New testcase.
+
+2022-03-09 Tobias Burnus <tobias@codesourcery.com>
+
+ * gfortran.dg/sizeof_6.f90: New test.
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/104711
+ * c-c++-common/Wshift-negative-value-1.c: Remove
+ dg-additional-options, instead in target selectors of each diagnostic
+ check for exact C++ versions where it should be diagnosed.
+ * c-c++-common/Wshift-negative-value-2.c: Likewise.
+ * c-c++-common/Wshift-negative-value-3.c: Likewise.
+ * c-c++-common/Wshift-negative-value-4.c: Likewise.
+ * c-c++-common/Wshift-negative-value-7.c: New test.
+ * c-c++-common/Wshift-negative-value-8.c: New test.
+ * c-c++-common/Wshift-negative-value-9.c: New test.
+ * c-c++-common/Wshift-negative-value-10.c: New test.
+ * c-c++-common/Wshift-overflow-1.c: Remove
+ dg-additional-options, instead in target selectors of each diagnostic
+ check for exact C++ versions where it should be diagnosed.
+ * c-c++-common/Wshift-overflow-2.c: Likewise.
+ * c-c++-common/Wshift-overflow-5.c: Likewise.
+ * c-c++-common/Wshift-overflow-6.c: Likewise.
+ * c-c++-common/Wshift-overflow-7.c: Likewise.
+ * c-c++-common/Wshift-overflow-8.c: New test.
+ * c-c++-common/Wshift-overflow-9.c: New test.
+ * c-c++-common/Wshift-overflow-10.c: New test.
+ * c-c++-common/Wshift-overflow-11.c: New test.
+ * c-c++-common/Wshift-overflow-12.c: New test.
+
+2022-03-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/104839
+ * gcc.c-torture/execute/pr104839.c: New test.
+
2022-03-08 Roger Sayle <roger@nextmovesoftware.com>
PR c++/96440
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 82d88edcf5d..f023ce26507 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,11 @@
+2022-03-09 Tobias Burnus <tobias@codesourcery.com>
+
+ PR target/102215
+ * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
+ a line up to non-arg-dependent value first.
+ (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
+ __atomic_compare_exchange_{1,2}.
+
2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
* config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dee091266a9..4893e51e982 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2022-03-09 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/104859
+ * src/c++17/floating_to_chars.cc (__floating_to_chars_hex):
+ Be explicit when narrowing the shifted effective_mantissa,
+ since it may have an integer-class type.
+
2022-03-08 Jonathan Wakely <jwakely@redhat.com>
* include/bits/uses_allocator_args.h: Remove incorrect copyright