From 5d4389dc913269cc6a6fd6ee38abc78b1fb7dbe8 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 26 Aug 2022 00:16:21 +0000 Subject: [PATCH] Daily bump. --- fixincludes/ChangeLog | 5 +++ gcc/ChangeLog | 75 +++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 15 +++++++++ gcc/c/ChangeLog | 35 +++++++++++++++++++ gcc/cp/ChangeLog | 15 +++++++++ gcc/fortran/ChangeLog | 6 ++++ gcc/testsuite/ChangeLog | 60 +++++++++++++++++++++++++++++++++ libada/ChangeLog | 4 +++ libiberty/ChangeLog | 4 +++ libobjc/ChangeLog | 4 +++ liboffloadmic/ChangeLog | 5 +++ libquadmath/ChangeLog | 4 +++ libssp/ChangeLog | 4 +++ libstdc++-v3/ChangeLog | 9 +++++ libvtv/ChangeLog | 4 +++ zlib/ChangeLog | 4 +++ 17 files changed, 254 insertions(+), 1 deletion(-) diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index f985d4ae205..2fc24aee263 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,8 @@ +2022-08-25 Martin Liska + + * config.h.in: Regenerate. + * configure: Regenerate. + 2022-02-27 John David Anglin * inclhack.def (hpux_math_constexpr): New hack. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a99f8a6bfd..fb8589587ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,78 @@ +2022-08-25 Marek Polacek + + * ginclude/stddef.h: Define nullptr_t. + +2022-08-25 Joseph Myers + + * gimplify.cc (gimplify_modify_expr): Convert initialization from + a variable-size CONSTRUCTOR to memset before call to + gimplify_modify_expr_rhs. + +2022-08-25 Jason Merrill + + * dwarf2out.cc (base_type_die): Also use DW_ATE_UTF for char8_t. + +2022-08-25 Andreas Krebbel + + PR target/106101 + * config/s390/predicates.md (subreg_register_operand): New + predicate. + * config/s390/s390-protos.h (s390_gen_lowpart_subreg): New + function prototype. + * config/s390/s390.cc (s390_gen_lowpart_subreg): New function. + (s390_expand_insv): Use s390_gen_lowpart_subreg instead of + gen_lowpart. + * config/s390/s390.md ("*get_tp_64", "*zero_extendhisi2_31") + ("*zero_extendqisi2_31", "*zero_extendqihi2_31"): Likewise. + ("movstrictqi", "movstricthi", "movstrictsi"): Use the + subreg_register_operand predicate instead of register_operand. + +2022-08-25 Xi Ruoyao + + * config/loongarch/loongarch-protos.h (loongarch_symbol_type): + Add SYMBOL_PCREL64 and change the description for SYMBOL_PCREL. + * config/loongarch/loongarch.cc (loongarch_attribute_table): + New attribute table. + (TARGET_ATTRIBUTE_TABLE): Define the target hook. + (loongarch_handle_model_attribute): New static function. + (loongarch_classify_symbol): Take TARGET_CMODEL_EXTREME and the + model attribute of SYMBOL_REF_DECL into account returning + SYMBOL_PCREL or SYMBOL_PCREL64. + (loongarch_use_anchors_for_symbol_p): New static function. + (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Define the target hook. + (loongarch_symbol_extreme_p): New static function. + (loongarch_symbolic_constant_p): Handle SYMBOL_PCREL64. + (loongarch_symbol_insns): Likewise. + (loongarch_split_symbol_type): Likewise. + (loongarch_split_symbol): Check SYMBOL_PCREL64 instead of + TARGET_CMODEL_EXTREME for PC-relative addressing. + (loongarch_print_operand_reloc): Likewise. + * doc/extend.texi (Variable Attributes): Document new + LoongArch specific attribute. + +2022-08-25 Xi Ruoyao + + * config/loongarch/loongarch.cc (loongarch_classify_symbol): + Return early if the rtx is not SYMBOL_REF. + +2022-08-25 Richard Biener + + PR tree-optimization/106737 + * tree-parloops.cc (transform_to_exit_first_loop_alt): Do not + verify SSA form. + +2022-08-25 Chenghua Xu + + PR target/106459 + * config/loongarch/loongarch.cc (loongarch_build_integer): + Use HOST_WIDE_INT. + * config/loongarch/loongarch.h (IMM_REACH): Likewise. + (HWIT_1U): New Defined. + (LU12I_OPERAND): Use HOST_WIDE_INT. + (LU32I_OPERAND): Likewise. + (LU52I_OPERAND): Likewise. + (HWIT_UC_0xFFF): Likwise. + 2022-08-24 Andrew Pinski PR target/106632 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 359f4ea53a5..d51496b47e3 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220825 +20220826 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index c738e579ff2..a70ec0aabcf 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,18 @@ +2022-08-25 Marek Polacek + + * c-common.cc (c_common_reswords): Enable nullptr in C2X. + (c_common_nodes_and_builtins): Create the built-in node for nullptr. + * c-common.h (enum c_tree_index): Add CTI_NULLPTR, CTI_NULLPTR_TYPE. + (struct c_common_resword): Resize the disable member. + (D_C2X): Add. + (nullptr_node): Define. + (nullptr_type_node): Define. + (NULLPTR_TYPE_P): Define. + * c-pretty-print.cc (c_pretty_printer::simple_type_specifier): Handle + NULLPTR_TYPE. + (c_pretty_printer::direct_abstract_declarator): Likewise. + (c_pretty_printer::constant): Likewise. + 2022-08-16 Tom Honermann PR c++/106423 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index a57d62f6a83..2f0eb8d542f 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,38 @@ +2022-08-25 Marek Polacek + + * c-convert.cc (c_convert) : Handle NULLPTR_TYPE. + Give a better diagnostic when converting to nullptr_t. + * c-decl.cc (c_init_decl_processing): Perform C-specific nullptr + initialization. + * c-parser.cc (c_parse_init): Maybe OR D_C2X into mask. + (c_parser_postfix_expression): Handle RID_NULLPTR. + * c-typeck.cc (null_pointer_constant_p): Return true when expr is + nullptr_node. + (build_unary_op) : Handle NULLPTR_TYPE. + (build_conditional_expr): Handle the case when the second/third operand + is NULLPTR_TYPE and third/second operand is POINTER_TYPE. + (convert_for_assignment): Handle converting an expression of type + nullptr_t to pointer/bool. + (build_binary_op) : Handle NULLPTR_TYPE. + : Handle comparing operands of type nullptr_t. + +2022-08-25 Joseph Myers + + * c-decl.cc (start_decl): Do not diagnose initialization of + variable-sized objects here. + * c-parser.cc (c_parser_braced_init): Add argument DECL. All + callers changed. + (c_parser_initializer): Diagnose initialization of variable-sized + objects other than with braced initializer. + (c_parser_braced_init): Use pedwarn_c11 for empty initializer + braces and update diagnostic text. Diagnose initialization of + variable-sized objects with nonempty braces. + * c-typeck.cc (digest_init): Update diagnostic for initialization + of variable-sized objects. + (really_start_incremental_init, set_designator) + (process_init_element): Update comments. + (pop_init_level): Allow scalar empty initializers. + 2022-08-17 Tobias Burnus Chung-Lin Tang diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 083ead1a394..0b2763d4384 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,18 @@ +2022-08-25 Marek Polacek + + * cp-tree.h (enum cp_tree_index): Remove CTI_NULLPTR, CTI_NULLPTR_TYPE. + Move it to c_tree_index. + (nullptr_node): No longer define here. + (nullptr_type_node): Likewise. + (NULLPTR_TYPE_P): Likewise. + * decl.cc (cxx_init_decl_processing): Only keep C++-specific nullptr + initialization; move the shared code to c_common_nodes_and_builtins. + +2022-08-25 Jason Merrill + + * call.cc (unsafe_return_slot_p): Return 2 for *this in a + constructor. + 2022-08-23 Marek Polacek * typeck.cc (maybe_warn_pessimizing_move): Don't warn about diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index be3e9da8d6f..631738b9684 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2022-08-25 Tobias Burnus + + * parse.cc (parse_omp_structured_block): When parsing strictly + structured blocks, issue an error if the end-directive comes + before the 'end block'. + 2022-08-24 Harald Anlauf PR fortran/103694 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3aa57280d45..af5de871f2d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,63 @@ +2022-08-25 Marek Polacek + + * gcc.dg/c11-nullptr-1.c: New test. + * gcc.dg/c17-nullptr-1.c: New test. + * gcc.dg/c17-nullptr-2.c: New test. + * gcc.dg/c2x-nullptr-1.c: New test. + * gcc.dg/c2x-nullptr-2.c: New test. + * gcc.dg/c2x-nullptr-3.c: New test. + * gcc.dg/c2x-nullptr-4.c: New test. + * gcc.dg/c2x-nullptr-5.c: New test. + +2022-08-25 Joseph Myers + + * gcc.dg/c11-empty-init-1.c, gcc.dg/c11-empty-init-2.c, + gcc.dg/c11-empty-init-3.c, gcc.dg/c2x-empty-init-1.c, + gcc.dg/c2x-empty-init-2.c, gcc.dg/c2x-empty-init-3.c, + gcc.dg/gnu2x-empty-init-1.c, gcc.dg/gnu2x-empty-init-2.c: New + tests. + * gcc.dg/torture/dfp-default-init-1.c: Also test empty + initializers. + * gcc.dg/init-bad-1.c, gcc.dg/noncompile/pr71583.c, + gcc.dg/pr61096-1.c, gcc.dg/vla-init-2.c, gcc.dg/vla-init-3.c, + gcc.target/i386/sse2-bfloat16-scalar-typecheck.c: Update expected + diagnostics. + * gcc.dg/ubsan/c-shift-1.c: Use nonempty initializers for VLA + initializations expected to be diagnosed. + +2022-08-25 Jason Merrill + + * g++.dg/init/elide8.C: New test. + +2022-08-25 Jason Merrill + + * g++.dg/debug/dwarf2/utf-1.C: New test. + +2022-08-25 Andreas Krebbel + + PR target/106101 + * gcc.c-torture/compile/pr106101.c: New test. + +2022-08-25 Xi Ruoyao + + * gcc.target/loongarch/attr-model-test.c: New test. + * gcc.target/loongarch/attr-model-1.c: New test. + * gcc.target/loongarch/attr-model-2.c: New test. + * gcc.target/loongarch/attr-model-diag.c: New test. + +2022-08-25 Richard Biener + + PR tree-optimization/106737 + * gcc.dg/autopar/pr106737.c: New testcase. + +2022-08-25 Tobias Burnus + + * gfortran.dg/gomp/strictly-structured-block-4.f90: New test. + +2022-08-25 Chenghua Xu + + * gcc.target/loongarch/pr106459.c: New test. + 2022-08-24 Andrew Pinski * lib/target-supports.exp (check_effective_target_bswap): diff --git a/libada/ChangeLog b/libada/ChangeLog index 6963df17b7f..214b1a95f0f 100644 --- a/libada/ChangeLog +++ b/libada/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2021-10-22 Eric Gallager PR other/102663 diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 242625b3aa9..736288f190e 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2022-07-22 Martin Liska PR other/106370 diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index a852a933550..1afd92cf49d 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2021-01-05 Samuel Thibault * configure: Re-generate. diff --git a/liboffloadmic/ChangeLog b/liboffloadmic/ChangeLog index 208abbc3c42..f502750dc89 100644 --- a/liboffloadmic/ChangeLog +++ b/liboffloadmic/ChangeLog @@ -1,3 +1,8 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + * plugin/configure: Regenerate. + 2022-07-04 Tobias Burnus Chung-Lin Tang Thomas Schwinge diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index a59cec9c811..f2542ddc5a1 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2022-01-11 Jakub Jelinek * configure.ac: Set XCFLAGS to -mno-gnu-attribute on diff --git a/libssp/ChangeLog b/libssp/ChangeLog index ec9618c5e51..a599349cdf7 100644 --- a/libssp/ChangeLog +++ b/libssp/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2021-01-05 Samuel Thibault * configure: Re-generate. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4c78614d1ed..1b20d4eb783 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2022-08-25 Patrick Palka + + * include/std/ranges (lazy_split_view::_OuterIter::_M_current): + Remove redundant comment. + (lazy_split_view::_M_current): Likewise. + (common_view::common_view): Remove commented out view-converting + constructor as per LWG3405. + (elements_view::_Iterator::_Iterator): Uglify 'current' and 'i'. + 2022-08-24 Patrick Palka * include/bits/ranges_algo.h (__min_fn, min): Move to ... diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog index 03b8e63d5bd..41eaa65aa82 100644 --- a/libvtv/ChangeLog +++ b/libvtv/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2021-01-05 Samuel Thibault * configure: Re-generate. diff --git a/zlib/ChangeLog b/zlib/ChangeLog index 7d6646b829c..3459bc66035 100644 --- a/zlib/ChangeLog +++ b/zlib/ChangeLog @@ -1,3 +1,7 @@ +2022-08-25 Martin Liska + + * configure: Regenerate. + 2021-12-16 H.J. Lu Revert: