Daily bump.

This commit is contained in:
GCC Administrator 2021-11-17 00:16:29 +00:00
parent 73e4d9f175
commit 6b1695f4a0
10 changed files with 389 additions and 1 deletions

View File

@ -1,3 +1,17 @@
2021-11-16 Martin Uecker <uecker@gcc.gnu.org>
* MAINTAINERS: Add myself to DCO section and update email address.
2021-11-16 Iain Sandoe <iain@sandoe.co.uk>
* configure: Regenerate.
* configure.ac: Ensure that PIC (shared) defaults are set
correctly for Darwin.
2021-11-16 Jim Wilson <jim.wilson.gcc@gmail.com>
* MAINTAINERS: Update my address.
2021-11-12 Alan Modra <amodra@gmail.com>
* Makefile.def (configure-opcodes): Depend on configure-bfd.

View File

@ -1,3 +1,134 @@
2021-11-16 Jan Hubicka <jh@suse.cz>
* ipa-modref.c (get_modref_function_summary): Declare.
* ipa-modref.h (get_modref_function_summary): New function.
* tree-ssa-dse.c (clear_live_bytes_for_ref): Break out from ...
(clear_bytes_written_by): ... here; also clear memory killed by
calls.
2021-11-16 Iain Sandoe <iain@sandoe.co.uk>
* ggc-common.c (gt_pch_save): If we cannot find a suitable
memory segment for save, then error-out, do not try to
continue.
(gt_pch_restore): Save the existing line table, and when
the replacement is being read, use that when constructing
diagnostics.
2021-11-16 Peter Bergner <bergner@linux.ibm.com>
PR target/102976
* config/rs6000/mma.md (*vsx_assemble_pair): Add early-clobber for
output operand.
(*mma_assemble_acc): Likewise.
2021-11-16 Martin Sebor <msebor@redhat.com>
PR tree-optimization/102960
* gimple-fold.c (get_range_strlen): Take bitmap as an argument rather
than a pointer to it.
(get_range_strlen_tree): Same. Remove bitmap allocation. Use
an auto_bitmap.
(get_maxval_strlen): Use an auto_bitmap.
* tree-ssa-strlen.c (get_range_strlen_dynamic): Factor out PHI
handling...
(get_range_strlen_phi): ...into this function.
Avoid assuming maximum string length is constant
(printf_strlen_execute): Dump pointer query cache contents when
details are requisted.
2021-11-16 Jason Merrill <jason@redhat.com>
* langhooks.h (struct lang_hooks): Adjust comment.
* print-tree.c (print_node): Also call print_xnode hook for
tcc_constant class.
2021-11-16 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/103218
* match.pd: New pattern for "((type)(a<0)) << SIGNBITOFA".
2021-11-16 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.md (maddhisi4): Use a single move to accumulator.
(umaddhisi4): Likewise.
(machi): Update pattern.
(umachi): Likewise.
2021-11-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/102880
* tree-ssa-dce.c (sort_phi_args): New function.
(make_forwarders_with_degenerate_phis): Likewise.
(perform_tree_ssa_dce): Call
make_forwarders_with_degenerate_phis.
2021-11-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/102880
* tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Push
single_pred (bb1) condition to places that really need it.
(match_simplify_replacement): Likewise.
(value_replacement): Likewise.
(replace_phi_edge_with_variable): Deal with extra edges
into the middle BB.
2021-11-16 Martin Jambor <mjambor@suse.cz>
* cfgexpand.c (expand_gimple_basic_block): Use build_debug_expr_decl,
add a fixme note about the mode assignment perhaps being unnecessary.
* ipa-param-manipulation.c (ipa_param_adjustments::modify_call):
Likewise.
(ipa_param_body_adjustments::mark_dead_statements): Likewise.
(ipa_param_body_adjustments::reset_debug_stmts): Likewise.
* tree-inline.c (remap_ssa_name): Likewise.
(tree_function_versioning): Likewise.
* tree-into-ssa.c (rewrite_debug_stmt_uses): Likewise.
* tree-ssa-loop-ivopts.c (remove_unused_ivs): Likewise.
* tree-ssa.c (insert_debug_temp_for_var_def): Likewise.
2021-11-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/103208
* omp-expand.c (expand_omp_build_cond): New function.
(expand_omp_for_init_counts, expand_omp_for_init_vars,
expand_omp_for_static_nochunk, expand_omp_for_static_chunk): Use it.
2021-11-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/102009
* gimple-ssa-warn-access.cc (pass_waccess::check_alloc_size_call):
Punt if any of alloc_size arguments is out of bounds vs. number of
call arguments.
2021-11-16 Roger Sayle <roger@nextmovesoftware.com>
* config/i386/i386.md (*bmi2_rorx<mode3>_1): Make conditional
on !optimize_function_for_size_p.
(*<any_rotate><mode>3_1): Add preferred_for_size attribute.
(define_splits): Conditionalize on !optimize_function_for_size_p.
(*bmi2_rorxsi3_1_zext): Likewise.
(*<any_rotate>si2_1_zext): Add preferred_for_size attribute.
(define_splits): Conditionalize on !optimize_function_for_size_p.
2021-11-16 Jan Hubicka <jh@suse.cz>
PR ipa/103262
* ipa-modref.c (merge_call_side_effects): Fix uninitialized
access.
2021-11-16 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/103245
* match.pd: Combine the abs pattern matching using multiplication.
Adding optional nop_convert too.
2021-11-16 H.J. Lu <hjl.tools@gmail.com>
PR middle-end/103268
* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Add a missing
return.
2021-11-15 Siddhesh Poyarekar <siddhesh@gotplt.org>
* gimple-fold.c (gimple_fold_builtin_strncat): Use ranges to

View File

@ -1 +1 @@
20211116
20211117

View File

@ -1,3 +1,9 @@
2021-11-16 David Malcolm <dmalcolm@redhat.com>
PR analyzer/102662
* constraint-manager.cc (bounded_range::operator==): Require the
types to be the same for equality.
2021-11-13 David Malcolm <dmalcolm@redhat.com>
* analyzer.opt (Wanalyzer-tainted-allocation-size): New.

View File

@ -1,3 +1,8 @@
2021-11-16 Jason Merrill <jason@redhat.com>
* c-common.c (release_tree_vector): Only cache vecs smaller than
16 elements.
2021-11-15 Jason Merrill <jason@redhat.com>
* c.opt: Add -fimplicit-constexpr.

View File

@ -1,3 +1,7 @@
2021-11-16 Jason Merrill <jason@redhat.com>
* ptree.c (cxx_print_xnode): Handle PTRMEM_CST.
2021-11-15 Jason Merrill <jason@redhat.com>
* cp-tree.h (struct lang_decl_fn): Add implicit_constexpr.

View File

@ -1,3 +1,63 @@
2021-11-16 Harald Anlauf <anlauf@gmx.de>
PR fortran/103286
* resolve.c (resolve_select): Choose appropriate range limit to
avoid NULL pointer dereference when generating error message.
2021-11-16 Mikael Morin <mikael@gcc.gnu.org>
* interface.c (gfc_dummy_arg_get_name): New function.
* gfortran.h (gfc_dummy_arg_get_name): Declare it.
* trans-array.c (arg_evaluated_for_scalarization): Pass a dummy
argument wrapper as argument instead of an actual argument
and an index number. Check its non-NULL. Use its name
to identify it.
(gfc_walk_elemental_function_args): Update call to
arg_evaluated for scalarization. Remove argument counting.
2021-11-16 Mikael Morin <mikael@gcc.gnu.org>
* gfortran.h (gfc_actual_arglist::missing_arg_type): Remove.
* interface.c (gfc_compare_actual_formal): Remove
missing_arg_type initialization.
* intrinsic.c (sort_actual): Ditto.
* trans-expr.c (gfc_conv_procedure_call): Use associated_dummy
and gfc_dummy_arg_get_typespec to get the dummy argument type.
2021-11-16 Mikael Morin <mikael@gcc.gnu.org>
* interface.c (gfc_dummy_arg_get_typespec,
gfc_dummy_arg_is_optional): New functions.
* gfortran.h (gfc_dummy_arg_get_typespec,
gfc_dummy_arg_is_optional): Declare them.
* trans.h (gfc_ss_info::dummy_arg): Use the wrapper type
as declaration type.
* trans-array.c (gfc_scalar_elemental_arg_saved_as_reference):
use gfc_dummy_arg_get_typespec function to get the type.
(gfc_walk_elemental_function_args): Remove proc_ifc argument.
Get info about the dummy arg using the associated_dummy field.
* trans-array.h (gfc_walk_elemental_function_args): Update declaration.
* trans-intrinsic.c (gfc_walk_intrinsic_function):
Update call to gfc_walk_elemental_function_args.
* trans-stmt.c (gfc_trans_call): Ditto.
(get_proc_ifc_for_call): Remove.
2021-11-16 Mikael Morin <mikael@gcc.gnu.org>
* gfortran.h (gfc_dummy_arg_kind, gfc_dummy_arg): New.
(gfc_actual_arglist): New field associated_dummy.
(gfc_intrinsic_arg): Remove field actual.
* interface.c (get_nonintrinsic_dummy_arg): New.
(gfc_compare_actual): Initialize associated_dummy.
* intrinsic.c (get_intrinsic_dummy_arg): New.
(sort_actual):  Add argument vectors.
Use loops with indices on argument vectors.
Initialize associated_dummy.
2021-11-16 Mikael Morin <mikael@gcc.gnu.org>
* intrinsic.c (sort_actual): initialise variable and use it earlier.
2021-11-15 Tobias Burnus <tobias@codesourcery.com>
* openmp.c (OMP_TARGET_CLAUSES): Add thread_limit.

View File

@ -1,3 +1,97 @@
2021-11-16 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/modref-dse-4.c: New test.
2021-11-16 Harald Anlauf <anlauf@gmx.de>
PR fortran/103286
* gfortran.dg/pr103286.f90: New test.
2021-11-16 Peter Bergner <bergner@linux.ibm.com>
PR target/102976
* gcc.target/powerpc/pr102976.c: New test.
2021-11-16 Martin Sebor <msebor@redhat.com>
PR tree-optimization/102960
* gcc.dg/Wstringop-overflow-84.c: New test.
2021-11-16 Tamar Christina <tamar.christina@arm.com>
* gcc.target/aarch64/shrn-combine-10.c: Use shrn.
2021-11-16 Tamar Christina <tamar.christina@arm.com>
* gcc.dg/signbit-2.c: CHeck vect or scalar.
2021-11-16 David Malcolm <dmalcolm@redhat.com>
PR analyzer/102662
* g++.dg/analyzer/pr102662.C: New test.
2021-11-16 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/103218
* gcc.dg/tree-ssa/pr103218-1.c: New test.
2021-11-16 Claudiu Zissulescu <claziss@synopsys.com>
* gcc.target/arc/tmac-4.c: New test.
2021-11-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/102880
* gcc.dg/tree-ssa/pr102880.c: New testcase.
* gcc.dg/tree-ssa/pr69270-3.c: Robustify.
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Change the number of
expected threadings.
2021-11-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/102880
* gcc.dg/tree-ssa/phi-opt-26.c: New testcase.
2021-11-16 Claudiu Zissulescu <claziss@synopsys.com>
* gcc.target/arc/add_n-combine.c: Update test patterns.
* gcc.target/arc/builtin_eh.c: Update test for linux platforms.
* gcc.target/arc/mul64-1.c: Disable this test while running on
linux.
* gcc.target/arc/tls-gd.c: Update matching patterns.
* gcc.target/arc/tls-ie.c: Likewise.
* gcc.target/arc/tls-ld.c: Likewise.
* gcc.target/arc/uncached-8.c: Likewise.
2021-11-16 Martin Jambor <mjambor@suse.cz>
* gcc.dg/ipa/ipa-sra-ret-nonull.c: New test.
2021-11-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/103208
* c-c++-common/gomp/loop-11.c: New test.
2021-11-16 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/102009
* gcc.dg/pr102009.c: New test.
2021-11-16 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/modref-dse-5.c: New test.
2021-11-16 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/103245
* gcc.dg/tree-ssa/pr103245-1.c: New test.
2021-11-16 H.J. Lu <hjl.tools@gmail.com>
PR middle-end/103268
* gcc.dg/pr103268-1.c: New test.
* gcc.dg/pr103268-2.c: Likewise.
2021-11-15 Jason Merrill <jason@redhat.com>
* lib/g++-dg.exp: Handle "impcx".

View File

@ -1,3 +1,8 @@
2021-11-16 Jakub Jelinek <jakub@redhat.com>
* libgomp.texi (OpenMP 5.1): Mark thread_limit clause to target
construct as implemented.
2021-11-15 Tobias Burnus <tobias@codesourcery.com>
* testsuite/libgomp.fortran/thread-limit-1.f90: New test.

View File

@ -1,3 +1,72 @@
2021-11-16 Jonathan Wakely <jwakely@redhat.com>
* include/bits/basic_string.h (operator<=>): Use constexpr
unconditionally.
* testsuite/21_strings/basic_string/modifiers/constexpr.cc:
Require cxx11-abit effective target.
* testsuite/21_strings/headers/string/synopsis.cc: Add
conditional constexpr to declarations, and adjust relational
operators for C++20.
2021-11-16 Patrick Palka <ppalka@redhat.com>
* src/c++17/ryu/MERGE: Update the commit hash.
* src/c++17/ryu/d2s_intrinsics.h: Merge from Ryu's master
branch.
2021-11-16 Michael de Lang <kingoipo@gmail.com>
* include/bits/basic_string.h (basic_string, operator""s): Add
constexpr for C++20.
(basic_string::basic_string(basic_string&&)): Only copy
initialized portion of the buffer.
(basic_string::basic_string(basic_string&&, const Alloc&)):
Likewise.
* include/bits/basic_string.tcc (basic_string): Add constexpr
for C++20.
(basic_string::swap(basic_string&)): Only copy initialized
portions of the buffers.
(basic_string::_M_replace): Add constexpr implementation that
doesn't depend on pointer comparisons.
* include/bits/cow_string.h: Adjust comment.
* include/ext/type_traits.h (__is_null_pointer): Add constexpr.
* include/std/string (erase, erase_if): Add constexpr.
* include/std/version (__cpp_lib_constexpr_string): Update
value.
* testsuite/21_strings/basic_string/cons/char/constexpr.cc:
New test.
* testsuite/21_strings/basic_string/cons/wchar_t/constexpr.cc:
New test.
* testsuite/21_strings/basic_string/literals/constexpr.cc:
New test.
* testsuite/21_strings/basic_string/modifiers/constexpr.cc: New test.
* testsuite/21_strings/basic_string/modifiers/swap/char/constexpr.cc:
New test.
* testsuite/21_strings/basic_string/modifiers/swap/wchar_t/constexpr.cc:
New test.
* testsuite/21_strings/basic_string/version.cc: New test.
2021-11-16 Jonathan Wakely <jwakely@redhat.com>
* include/bits/stl_bvector.h (swap(_Bit_reference, _Bit_reference))
(swap(_Bit_reference, bool&), swap(bool&, _Bit_reference)):
Define as hidden friends of _Bit_reference.
2021-11-16 Jonathan Wakely <jwakely@redhat.com>
* testsuite/21_strings/basic_string/modifiers/append/wchar_t/1.cc:
Fix reads past the end of strings.
* testsuite/21_strings/basic_string/operations/compare/wchar_t/1.cc:
Likewise.
* testsuite/experimental/string_view/operations/compare/wchar_t/1.cc:
Likewise.
2021-11-16 Jonathan Wakely <jwakely@redhat.com>
* testsuite/21_strings/basic_string/allocator/71964.cc: Fix
typo.
* testsuite/23_containers/set/allocator/71964.cc: Likewise.
2021-11-15 Jason Merrill <jason@redhat.com>
* testsuite/20_util/to_address/1_neg.cc: Adjust error.