[gcc r13-3174] Daily bump.

GCC Administrator gccadmin@gcc.gnu.org
Sat Oct 8 00:18:17 GMT 2022


https://gcc.gnu.org/g:9ff6c33e2ec0d75958d3f19089519034e8f96a30

commit r13-3174-g9ff6c33e2ec0d75958d3f19089519034e8f96a30
Author: GCC Administrator <gccadmin@gcc.gnu.org>
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  <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
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  <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,
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  <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
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  <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
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  <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
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  <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
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  <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
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  <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.
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  <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
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  <mliska@suse.cz>
+
+	* dpd/decimal64.c (decDigitsToDPD): Remove unused variable.
+
 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
 
 	* 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  <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
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  <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.


More information about the Libstdc++-cvs mailing list