From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 5D6523858C55; Sat, 8 Oct 2022 00:18:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D6523858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665188297; bh=FNgP2tYgrxwmOI7cg96q67v941Pa+2YTL0PoEYY0LOA=; h=From:To:Subject:Date:From; b=AklPaAgP6+XaiJkp9UicIJb6W6sxK3nb8SR4hdCTACiGT48er683oz63z3cH/oLVn VpSE5cbshiIRs9Pu1hjSSd4pivcI59lGMV1ZmcpzBd4RYfVSIloSwTFbzr9e2OLUWp UzNYdCJsGJ9vyMxi5wkjAq1JQHTqryMy4dkpH8wg= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-3174] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 895dd027d5dda51a95d242aec8a49a6dfa5db58d X-Git-Newrev: 9ff6c33e2ec0d75958d3f19089519034e8f96a30 Message-Id: <20221008001817.5D6523858C55@sourceware.org> Date: Sat, 8 Oct 2022 00:18:17 +0000 (GMT) List-Id: https://gcc.gnu.org/g:9ff6c33e2ec0d75958d3f19089519034e8f96a30 commit r13-3174-g9ff6c33e2ec0d75958d3f19089519034e8f96a30 Author: GCC Administrator Date: Sat Oct 8 00:17:29 2022 +0000 Daily bump. Diff: --- contrib/ChangeLog | 4 ++ fixincludes/ChangeLog | 15 ++++++ gcc/ChangeLog | 126 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 9 ++++ gcc/c-family/ChangeLog | 17 +++++++ gcc/c/ChangeLog | 10 ++++ gcc/cp/ChangeLog | 52 ++++++++++++++++++++ gcc/objc/ChangeLog | 5 ++ gcc/testsuite/ChangeLog | 59 +++++++++++++++++++++++ libdecnumber/ChangeLog | 4 ++ libiberty/ChangeLog | 6 +++ libstdc++-v3/ChangeLog | 18 +++++++ 13 files changed, 326 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 9523633c2c5..3c016fe39fe 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2022-10-07 Martin Liska + + * gcc-changelog/git_update_version.py: Remove extra fetch. + 2022-10-06 Martin Liska * gcc-changelog/git_update_version.py: Use logging module diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 0b88d276b01..c3c398d5a59 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,18 @@ +2022-10-07 Jakub Jelinek + + PR bootstrap/107059 + * inclhack.def (glibc_cxx_floatn_5): New. + * fixincl.x: Regenerated. + * tests/base/bits/floatn.h: Regenerated. + +2022-10-07 Jakub Jelinek + + PR bootstrap/107059 + * inclhack.def (glibc_cxx_floatn_2): Handle #elif the same as #if. + (glibc_cxx_floatn_4): New. + * fixincl.x: Regenerated. + * tests/base/bits/floatn.h: Regenerated. + 2022-09-27 Jakub Jelinek * inclhack.def (glibc_cxx_floatn_1, glibc_cxx_floatn_2, diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad2c6e701e1..5086463eba3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,129 @@ +2022-10-07 Eugene Rozenfeld + + * tree-cfg.cc (assign_discriminators): Set discriminators for call stmts + on the same line within the same basic block. + +2022-10-07 Qing Zhao + + PR tree-optimization/101836 + * tree-object-size.cc (addr_object_size): Use array_at_struct_end_p + to determine a flexible array member reference. + +2022-10-07 Qing Zhao + + * doc/extend.texi: Document strict_flex_array attribute. + * doc/invoke.texi: Document -fstrict-flex-arrays[=n] option. + * print-tree.cc (print_node): Print new bit decl_not_flexarray. + * tree-core.h (struct tree_decl_common): New bit field + decl_not_flexarray. + * tree-streamer-in.cc (unpack_ts_decl_common_value_fields): Stream + in new bit decl_not_flexarray. + * tree-streamer-out.cc (pack_ts_decl_common_value_fields): Stream + out new bit decl_not_flexarray. + * tree.cc (array_at_struct_end_p): Update it with the new bit field + decl_not_flexarray. + * tree.h (DECL_NOT_FLEXARRAY): New flag. + +2022-10-07 Olivier Hainque + + * config/vxworks/_vxworks-versions.h: Use OS specific + paths in #include of version.h. + +2022-10-07 Martin Liska + + * opts.cc (finish_options): Print sorry message only + for -flive-patching=inline-only-static. + +2022-10-07 Jason Merrill + + * gimplify.cc (gimplify_modify_expr_rhs): Don't optimize + x = *(A*)& to x = for a TREE_ADDRESSABLE type. + +2022-10-07 Richard Biener + + PR tree-optimization/107153 + * tree-cfg.cc (gimple_duplicate_sese_tail): Do not update + SSA form here. + * tree-parloops.cc (gen_parallel_loop): Update SSA form + after to-exit-first transform, no PHI insertion is necessary. + (pass_parallelize_loops::execute): Force re-write of the + virtual operand SSA web. + +2022-10-07 Jonathan Wakely + + * value-range.cc (irange::irange_contains_p): Fix comment typo. + +2022-10-07 Eric Botcazou + + * function.cc (thread_prologue_and_epilogue_insns): Update only + entry and exit blocks when not optimizing. Remove dead statement. + +2022-10-07 Aldy Hernandez + + * value-range.cc (irange::irange_set): Convert nonzero mask to + tree. + (irange::irange_set_anti_range): Same. + (irange::set): Same. + (irange::verify_range): Same. + (irange::contains_p): Same. + (irange::invert): Same. + (irange::set_range_from_nonzero_bits): Same. + (irange::set_nonzero_bits): Same. + (mask_to_wi): Same. + (irange::intersect_nonzero_bits): Same. + (irange::union_nonzero_bits): Same. + * value-range.h (irange::varying_compatible_p): Same. + (gt_ggc_mx): Same. + (gt_pch_nx): Same. + (irange::set_undefined): Same. + (irange::set_varying): Same. + +2022-10-07 Martin Liska + + * config/i386/i386-protos.h (ix86_binary_operator_ok): Add array + size to function parameter. + (ix86_unary_operator_ok): Likewise. + +2022-10-07 Martin Liska + + * auto-profile.cc (get_inline_stack): Remove unused variable. + +2022-10-07 Jakub Jelinek + + * ipa-prop.h (ipa_constant_data): Fix comment typo. + * value-range.cc (irange::irange_contains_p): Likewise. + * value-relation.cc (dom_oracle::set_one_relation): Likewise. + * gimple-predicate-analysis.cc (predicate::simplify_4): Likewise. + * tree-inline.cc (remap_ssa_name): Likewise. + +2022-10-07 Jakub Jelinek + + * attribs.h (is_attribute_namespace_p): New inline function. + (lookup_attribute): Document meaning of ATTR_NS equal to "". + * attribs.cc (remove_attribute): Use is_attribute_namespace_p. + (private_lookup_attribute): For ATTR_NS "" match either standard + attribute or "gnu" namespace one. + +2022-10-07 Olivier Hainque + + * config/vxworks.h (DWARF_VERSION_DEFAULT): Adjust from + 4 to 3 for VxWorks >= 7. + +2022-10-07 Olivier Hainque + + * defaults.h (DWARF_DEFAULT_VERSION): Define if not + defined already. + * common.opt (gdwarf-): Use it. + * doc/tm.texi.in (DWARF_DEFAULT_VERSION): Document. + * doc/tm.texi: Update accordingly. + * config/vxworks.h (DWARF_DEFAULT_VERSION): Redefine. + * config/vxworks.cc: Remove code setting dwarf_version, now + handled by the DWARF_DEFAULT_VERSION redefinition. + +2022-10-07 Olivier Hainque + + * ginclude/stddef.h: #undef offsetof before #define. + 2022-10-06 Aldy Hernandez PR tree-optimization/107170 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 12abceb7baa..ab0c096551c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20221007 +20221008 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 70e9289388c..33477daae99 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,12 @@ +2022-10-07 David Malcolm + + PR analyzer/105783 + * region-model.cc (selftest::get_bit): New function. + (selftest::test_bits_within_svalue_folding): New. + (selfftest::analyzer_region_model_cc_tests): Call it. + * svalue.cc (constant_svalue::maybe_fold_bits_within): Handle the + case of extracting a single bit. + 2022-10-06 David Malcolm PR analyzer/107158 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 75ff47d28d4..7bae1d543b3 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,20 @@ +2022-10-07 Qing Zhao + + * c-attribs.cc (handle_strict_flex_array_attribute): New function. + (c_common_attribute_table): New item for strict_flex_array. + * c.opt: (fstrict-flex-arrays): New option. + (fstrict-flex-arrays=): New option. + +2022-10-07 Martin Liska + + * name-hint.h: Use std::move. + +2022-10-07 Jakub Jelinek + + * c-common.cc (attribute_fallthrough_p): Lookup fallthrough attribute + only in gnu namespace or as standard attribute, treat fallthrough + attributes in other namespaces like any other unknown attribute. + 2022-10-06 Joseph Myers * c-common.cc (c_common_reswords): Mark typeof as D_EXT11. Add diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 325b1f84733..a25e1b454c3 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,13 @@ +2022-10-07 Qing Zhao + + * c-decl.cc (flexible_array_member_type_p): New function. + (one_element_array_type_p): Likewise. + (zero_length_array_type_p): Likewise. + (add_flexible_array_elts_to_size): Call new utility + routine flexible_array_member_type_p. + (is_flexible_array_member_p): New function. + (finish_struct): Set the new DECL_NOT_FLEXARRAY flag. + 2022-10-06 Joseph Myers * c-parser.cc (c_parse_init): Add D_EXT11 to mask if flag_no_asm diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0fe21fd71a6..3aa9f032e28 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,55 @@ +2022-10-07 Marek Polacek + + PR c++/107085 + * call.cc (conv_binds_ref_to_temporary): New. + (ref_conv_binds_directly): Rename to... + (ref_conv_binds_to_temporary): ...this. Use + conv_binds_ref_to_temporary. + * cp-tree.h (ref_conv_binds_directly): Rename to... + (ref_conv_binds_to_temporary): ...this. + * method.cc (ref_xes_from_temporary): Use ref_conv_binds_to_temporary. + * parser.cc (warn_for_range_copy): Likewise. + +2022-10-07 Qing Zhao + + * module.cc (trees_out::core_bools): Stream out new bit + decl_not_flexarray. + (trees_in::core_bools): Stream in new bit decl_not_flexarray. + +2022-10-07 Patrick Palka + + * module.cc (trees_out::mark_class_def): Guard against + DECL_BIT_FIELD_REPRESENTATIVE not being a decl. + +2022-10-07 Jason Merrill + + * init.cc (expand_default_init): Also push the INIT_EXPR inside a + CLEANUP_POINT_EXPR. + +2022-10-07 Patrick Palka + + PR c++/104433 + * module.cc (trees_out::core_bools): Don't override + DECL_EXTERNAL to true for static variables from an inline + function. + +2022-10-07 Martin Liska + + * module.cc (enum module_state_counts): Use array size. + * name-lookup.cc (class namespace_limit_reached): Likewise. + (class module_state): Move up in the file. + +2022-10-07 Jakub Jelinek + + * parser.cc (cp_parser_check_std_attribute): Only do checks if + attribute is a standard attribute or in gnu namespace and only + lookup other attributes in those namespaces. + * cp-gimplify.cc (lookup_hotness_attribute): Adjust function comment. + Only return true for standard attribute or gnu namespace attribute. + (remove_hotness_attribute): Only remove hotness attributes when + they are standard or in gnu namespace, implement it in a single + loop rather than former 4 now 8 remove_attribute calls. + 2022-10-06 Jason Merrill * coroutines.cc (expand_one_await_expression): Change conversion diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 01720f734f9..a83c3c7a741 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2022-10-07 Martin Liska + + * objc-gnu-runtime-abi-01.cc (generate_static_references): + Remove unused variable. + 2022-06-02 David Malcolm * objc-act.h (objc_get_sarif_source_language): New decl. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9577fc16f89..af8fc3f7e01 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,62 @@ +2022-10-07 Marek Polacek + + PR c++/107085 + * g++.dg/ext/reference_constructs_from_temporary1.C: Adjust expected + result. + * g++.dg/ext/reference_converts_from_temporary1.C: Likewise. + * g++.dg/cpp0x/elision4.C: New test. + +2022-10-07 Qing Zhao + + PR tree-optimization/101836 + * gcc.dg/pr101836.c: New test. + * gcc.dg/pr101836_1.c: New test. + * gcc.dg/pr101836_2.c: New test. + * gcc.dg/pr101836_3.c: New test. + * gcc.dg/pr101836_4.c: New test. + * gcc.dg/pr101836_5.c: New test. + * gcc.dg/strict-flex-array-2.c: New test. + * gcc.dg/strict-flex-array-3.c: New test. + +2022-10-07 Qing Zhao + + * g++.dg/strict-flex-array-1.C: New test. + * gcc.dg/strict-flex-array-1.c: New test. + +2022-10-07 David Malcolm + + PR analyzer/105783 + * gcc.dg/analyzer/pr105783.c: New test. + +2022-10-07 Patrick Palka + + * g++.dg/modules/bfield-3.H: New test. + +2022-10-07 Martin Liska + + * gcc.dg/live-patching-2.c: Update scanned pattern. + * gcc.dg/live-patching-5.c: New test. + +2022-10-07 Patrick Palka + + PR c++/104433 + * g++.dg/modules/static-2_a.H: New test. + * g++.dg/modules/static-2_b.C: New test. + +2022-10-07 Jason Merrill + + * g++.dg/init/elide9.C: New test. + +2022-10-07 Richard Biener + + PR tree-optimization/107153 + * gcc.dg/autopar/pr107153.c: New testcase. + +2022-10-07 Jakub Jelinek + + * g++.dg/cpp1z/fallthrough2.C: New test. + * g++.dg/cpp2a/attr-likely7.C: New test. + 2022-10-06 Aldy Hernandez PR tree-optimization/107170 diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index 774c358fa2a..71e5c079fa8 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,3 +1,7 @@ +2022-10-07 Martin Liska + + * dpd/decimal64.c (decDigitsToDPD): Remove unused variable. + 2022-05-20 Christophe Lyon * configure: Regenerate. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index c22f9d90abc..2c0d46b1126 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2022-10-07 Nathan Sidwell + + * cp-demangle.c (d_print_comp_inner): Allow parameter packs + in a lambda signature. + * testsuite/demangle-expected: Add tests. + 2022-09-27 Jakub Jelinek PR c++/106652 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a357c7e1813..68f9a1d877d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,21 @@ +2022-10-07 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): Add libstdcxx-hosted + enable arg as an alias for hosted-libstdcxx enable arg. + * configure: Regenerate. + +2022-10-07 Jonathan Wakely + + * include/bits/std_function.h: Include but do not include + . + * include/std/functional: Do not include . + +2022-10-07 Jonathan Wakely + + * doc/xml/manual/intro.xml: Add role="bold" attribute to + emphasis elements for issue titles. + * doc/html/manual/bugs.html: Regenerate. + 2022-10-05 Jonathan Wakely * include/Makefile.in: Regenerate.