Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 10 Mar 2022 00:16:28 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 10 Mar 2022 00:16:28 +0000 (00:16 +0000)
ChangeLog
contrib/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libgcc/ChangeLog
libstdc++-v3/ChangeLog

index 2485aaa..b506256 100644 (file)
--- 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.
index 1e3d4b8..4d7bbbb 100644 (file)
@@ -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
index d5413fd..26ae44a 100644 (file)
@@ -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
index beef26c..284de79 100644 (file)
@@ -1 +1 @@
-20220309
+20220310
index 764e1d2..a034d8f 100644 (file)
@@ -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.
index 8f6bf71..e97a42b 100644 (file)
@@ -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
index e18ae41..1aeacce 100644 (file)
@@ -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
index e0c71d0..f49b8e2 100644 (file)
@@ -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
index 6eb76a0..8073258 100644 (file)
@@ -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
index 82d88ed..f023ce2 100644 (file)
@@ -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.
index dee0912..4893e51 100644 (file)
@@ -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