]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 8 Oct 2022 00:17:29 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 8 Oct 2022 00:17:29 +0000 (00:17 +0000)
13 files changed:
contrib/ChangeLog
fixincludes/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/objc/ChangeLog
gcc/testsuite/ChangeLog
libdecnumber/ChangeLog
libiberty/ChangeLog
libstdc++-v3/ChangeLog

index 9523633c2c584374c89448ee51e2757c7973da75..3c016fe39fed5dec465be07800d1cada66348e6b 100644 (file)
@@ -1,3 +1,7 @@
+2022-10-07  Martin Liska  <mliska@suse.cz>
+
+       * gcc-changelog/git_update_version.py: Remove extra fetch.
+
 2022-10-06  Martin Liska  <mliska@suse.cz>
 
        * gcc-changelog/git_update_version.py: Use logging module
index 0b88d276b0178b0a57553a930eb72e6c5cf2cd88..c3c398d5a591332334daae92507fe64d47bfc012 100644 (file)
@@ -1,3 +1,18 @@
+2022-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/107059
+       * inclhack.def (glibc_cxx_floatn_5): New.
+       * fixincl.x: Regenerated.
+       * tests/base/bits/floatn.h: Regenerated.
+
+2022-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
 
        * inclhack.def (glibc_cxx_floatn_1, glibc_cxx_floatn_2,
index ad2c6e701e1819afd918620a969ae0a040411007..5086463eba300327810e76d63a63f6e7229142ce 100644 (file)
@@ -1,3 +1,129 @@
+2022-10-07  Eugene Rozenfeld  <erozen@microsoft.com>
+
+       * tree-cfg.cc (assign_discriminators): Set discriminators for call stmts
+       on the same line within the same basic block.
+
+2022-10-07  Qing Zhao  <qing.zhao@oracle.com>
+
+       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  <qing.zhao@oracle.com>
+
+       * 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  <hainque@adacore.com>
+
+       * config/vxworks/_vxworks-versions.h: Use OS specific
+       paths in #include of version.h.
+
+2022-10-07  Martin Liska  <mliska@suse.cz>
+
+       * opts.cc (finish_options): Print sorry message only
+       for -flive-patching=inline-only-static.
+
+2022-10-07  Jason Merrill  <jason@redhat.com>
+
+       * gimplify.cc (gimplify_modify_expr_rhs): Don't optimize
+       x = *(A*)&<expr> to x = <expr> for a TREE_ADDRESSABLE type.
+
+2022-10-07  Richard Biener  <rguenther@suse.de>
+
+       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  <jwakely@redhat.com>
+
+       * value-range.cc (irange::irange_contains_p): Fix comment typo.
+
+2022-10-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * function.cc (thread_prologue_and_epilogue_insns): Update only
+       entry and exit blocks when not optimizing.  Remove dead statement.
+
+2022-10-07  Aldy Hernandez  <aldyh@redhat.com>
+
+       * 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  <mliska@suse.cz>
+
+       * 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  <mliska@suse.cz>
+
+       * auto-profile.cc (get_inline_stack): Remove unused variable.
+
+2022-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <jakub@redhat.com>
+
+       * 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  <hainque@adacore.com>
+
+       * config/vxworks.h (DWARF_VERSION_DEFAULT): Adjust from
+       4 to 3 for VxWorks >= 7.
+
+2022-10-07  Olivier Hainque  <hainque@adacore.com>
+
+       * 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  <hainque@adacore.com>
+
+       * ginclude/stddef.h: #undef offsetof before #define.
+
 2022-10-06  Aldy Hernandez  <aldyh@redhat.com>
 
        PR tree-optimization/107170
index 12abceb7baa3934f827b2c0236984800aa934254..ab0c096551c572af303ffb85352d378a8fc4c0ce 100644 (file)
@@ -1 +1 @@
-20221007
+20221008
index 70e9289388c304f7989c278c63aff1fd4229081c..33477daae99202650e2c2abd40f995235438b620 100644 (file)
@@ -1,3 +1,12 @@
+2022-10-07  David Malcolm  <dmalcolm@redhat.com>
+
+       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  <dmalcolm@redhat.com>
 
        PR analyzer/107158
index 75ff47d28d49024333ad0fb0a7360aa8c45cb220..7bae1d543b341222d5c0163fd6a22dd1587e81d6 100644 (file)
@@ -1,3 +1,20 @@
+2022-10-07  Qing Zhao  <qing.zhao@oracle.com>
+
+       * 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  <mliska@suse.cz>
+
+       * name-hint.h: Use std::move.
+
+2022-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <joseph@codesourcery.com>
 
        * c-common.cc (c_common_reswords): Mark typeof as D_EXT11.  Add
index 325b1f847330eb6fbd67c4d0f286cbc44e54181e..a25e1b454c330e90abdbc5c5955225ddf315a0e1 100644 (file)
@@ -1,3 +1,13 @@
+2022-10-07  Qing Zhao  <qing.zhao@oracle.com>
+
+       * 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  <joseph@codesourcery.com>
 
        * c-parser.cc (c_parse_init): Add D_EXT11 to mask if flag_no_asm
index 0fe21fd71a6170dac52a60557e764205fcecb5f9..3aa9f032e285354e5abc3df564e6be743c599be2 100644 (file)
@@ -1,3 +1,55 @@
+2022-10-07  Marek Polacek  <polacek@redhat.com>
+
+       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  <qing.zhao@oracle.com>
+
+       * 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  <ppalka@redhat.com>
+
+       * module.cc (trees_out::mark_class_def): Guard against
+       DECL_BIT_FIELD_REPRESENTATIVE not being a decl.
+
+2022-10-07  Jason Merrill  <jason@redhat.com>
+
+       * init.cc (expand_default_init): Also push the INIT_EXPR inside a
+       CLEANUP_POINT_EXPR.
+
+2022-10-07  Patrick Palka  <ppalka@redhat.com>
+
+       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  <mliska@suse.cz>
+
+       * 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  <jakub@redhat.com>
+
+       * 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  <jason@redhat.com>
 
        * coroutines.cc (expand_one_await_expression): Change conversion
index 01720f734f9cd63a5e7a680aa90c98ed44de439e..a83c3c7a7418ca2ce9ca11af708631fbe8dd53ee 100644 (file)
@@ -1,3 +1,8 @@
+2022-10-07  Martin Liska  <mliska@suse.cz>
+
+       * objc-gnu-runtime-abi-01.cc (generate_static_references):
+       Remove unused variable.
+
 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
 
        * objc-act.h (objc_get_sarif_source_language): New decl.
index 9577fc16f89c11d1e4e85ae5c404c8cb3670db5b..af8fc3f7e01c4b2eca2641f709673f7b02abb85b 100644 (file)
@@ -1,3 +1,62 @@
+2022-10-07  Marek Polacek  <polacek@redhat.com>
+
+       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  <qing.zhao@oracle.com>
+
+       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  <qing.zhao@oracle.com>
+
+       * g++.dg/strict-flex-array-1.C: New test.
+       * gcc.dg/strict-flex-array-1.c: New test.
+
+2022-10-07  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/105783
+       * gcc.dg/analyzer/pr105783.c: New test.
+
+2022-10-07  Patrick Palka  <ppalka@redhat.com>
+
+       * g++.dg/modules/bfield-3.H: New test.
+
+2022-10-07  Martin Liska  <mliska@suse.cz>
+
+       * gcc.dg/live-patching-2.c: Update scanned pattern.
+       * gcc.dg/live-patching-5.c: New test.
+
+2022-10-07  Patrick Palka  <ppalka@redhat.com>
+
+       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  <jason@redhat.com>
+
+       * g++.dg/init/elide9.C: New test.
+
+2022-10-07  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/107153
+       * gcc.dg/autopar/pr107153.c: New testcase.
+
+2022-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/cpp1z/fallthrough2.C: New test.
+       * g++.dg/cpp2a/attr-likely7.C: New test.
+
 2022-10-06  Aldy Hernandez  <aldyh@redhat.com>
 
        PR tree-optimization/107170
index 774c358fa2a994fd351776c5da459dae6cde137c..71e5c079fa818d4c2abeaf9fb80e7f7a72d4e5cf 100644 (file)
@@ -1,3 +1,7 @@
+2022-10-07  Martin Liska  <mliska@suse.cz>
+
+       * dpd/decimal64.c (decDigitsToDPD): Remove unused variable.
+
 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
 
        * configure: Regenerate.
index c22f9d90abcac064e1dba22c623bca66bc4e688b..2c0d46b1126c6175648677a03e1991aca7166c7e 100644 (file)
@@ -1,3 +1,9 @@
+2022-10-07  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_print_comp_inner): Allow parameter packs
+       in a lambda signature.
+       * testsuite/demangle-expected: Add tests.
+
 2022-09-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/106652
index a357c7e1813a7eaa6e2b9cc9c8feabfe241bac4f..68f9a1d877dbb7a5d8704c7880d5f5d14a206683 100644 (file)
@@ -1,3 +1,21 @@
+2022-10-07  Jonathan Wakely  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * include/bits/std_function.h: Include <new> but do not include
+       <bits/stl_function.h>.
+       * include/std/functional: Do not include <new>.
+
+2022-10-07  Jonathan Wakely  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
 
        * include/Makefile.in: Regenerate.