Daily bump.

This commit is contained in:
GCC Administrator 2021-10-27 00:16:33 +00:00
parent ab10383aae
commit 3ff5b4edbe
8 changed files with 371 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2021-10-26 Jeff Law <jeffreyalaw@gmail.com>
* MAINTAINERS: Fix up Maciej's entries.
2021-10-26 Maciej W. Rozycki <macro@embecosm.com>
* MAINTAINERS (CPU Port Maintainers): Add myself as a VAX port
maintainer.
2021-10-22 Eric Gallager <egallager@gcc.gnu.org>
PR other/102663

View File

@ -1,3 +1,8 @@
2021-10-26 Jonathan Wakely <jwakely@redhat.com>
* resolver.cc (module_resolver::read_tuple_file): Use unique_ptr
to ensure memory is freed before returning.
2021-10-22 Eric Gallager <egallager@gcc.gnu.org>
PR other/102663

View File

@ -1,3 +1,174 @@
2021-10-26 Martin Sebor <msebor@redhat.com>
PR tree-optimization/102238
PR tree-optimization/102919
* gimple-ssa-sprintf.c (get_string_length): Add an argument.
(array_elt_at_offset): Move to pointer-query.
(set_aggregate_size_and_offset): New function.
(field_at_offset): Move to pointer-query.
(get_origin_and_offset): Rename...
(get_origin_and_offset_r): this. Add an argument. Make aggregate
handling more robust.
(get_origin_and_offset): New.
(alias_offset): Add an argument.
(format_string): Use subobject size determined by get_origin_and_offset.
* pointer-query.cc (field_at_offset): Move from gimple-ssa-sprintf.c.
Improve/correct handling of aggregates.
(array_elt_at_offset): Same.
* pointer-query.h (field_at_offset): Declare.
(array_elt_at_offset): Declare.
2021-10-26 Martin Sebor <msebor@redhat.com>
* builtins.c (check_strncat_sizes): Pass access_data ctor additional
arguments.
(expand_builtin_memcmp): Move code to gimple-ssa-warn-access.cc.
(expand_builtin_fork_or_exec): Same.
* gimple-array-bounds.cc (array_bounds_checker::check_mem_ref): Pass
compute_objsize additional arguments.
(inbounds_memaccess_p): Same.
(array_bounds_checker::check_array_bounds): Add an assert. Stash
statement in a member.
(check_array_bounds_dom_walker::before_dom_children): Same.
* gimple-array-bounds.h (array_bounds_checker::m_stmt): New member.
* gimple-ssa-sprintf.c (get_destination_size): Add an argument.
(handle_printf_call): Pass a new argument.
* gimple-ssa-warn-access.cc (get_size_range): Add an argument.
(check_access): Add an argument and pass it along to callees.
(check_read_access): Make a member function.
(pass_waccess::check_strcat): Pass access_data ctor additional
arguments.
(pass_waccess::check_strncat): Same.
(pass_waccess::check_stxcpy): Same.
(pass_waccess::check_stxncpy): Same.
(pass_waccess::check_strncmp): Same.
(pass_waccess::check_read_access): Same.
(pass_waccess::check_builtin): Same.
(pass_waccess::maybe_check_access_sizes): Same.
(pass_waccess::maybe_check_dealloc_call): Same.
* gimple-ssa-warn-access.h (check_read_access): Declare a new
member function.
* pointer-query.cc (compute_objsize_r): Add an argument.
(gimple_call_return_array): Same.
(gimple_call_alloc_size): Same.
(access_ref::access_ref): Same.
(access_ref::get_ref): Same.
(pointer_query::get_ref): Same.
(handle_min_max_size): Pass an arguments to callees.
(handle_array_ref): Add an argument.
(handle_mem_ref): Same.
(compute_objsize): Same.
* pointer-query.h (struct access_ref): Adjust signatures.
(struct access_data): Same.
(gimple_call_alloc_size): Add an argument.
(gimple_parm_array_size): Same.
(compute_objsize): Same.
* tree-ssa-strlen.c (strlen_pass::adjust_last_stmt): Pass an additional
argument to compute_objsize.
(strlen_pass::maybe_warn_overflow): Same.
(maybe_diag_stxncpy_trunc): Same.
2021-10-26 Martin Sebor <msebor@redhat.com>
PR middle-end/102453
* gimple-ssa-warn-access.cc (pass_waccess::check_atomic_builtin): New.
(pass_waccess::check_atomic_builtin): Call it.
2021-10-26 Vladimir N. Makarov <vmakarov@redhat.com>
PR rtl-optimization/102842
* lra-constraints.c (match_reload): Ignore out in checking values
of outs.
(curr_insn_transform): Collect outputs before doing reloads of operands.
2021-10-26 Paul A. Clarke <pc@us.ibm.com>
PR target/102719
* config/rs6000/x86intrin.h: Move some included headers to new
headers. Include new immintrin.h instead of those headers.
* config/rs6000/immintrin.h: New.
* config/rs6000/x86gprintrin.h: New.
* config.gcc (powerpc*-*-*): Add new headers to extra_headers.
2021-10-26 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (vect_create_addr_base_for_vector_ref):
Remove byte_offset parameter.
(vect_create_data_ref_ptr): Likewise.
* tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
Likewise.
(vect_create_data_ref_ptr): Likewise.
* tree-vect-stmts.c (vectorizable_store): Adjust.
(vectorizable_load): Likewise.
2021-10-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/96109
* tree-vectorizer.h (dr_misalignment): Add optional offset
parameter.
* tree-vect-data-refs.c (dr_misalignment): Likewise. Remove
offset applied for negative stride accesses.
(vect_enhance_data_refs_alignment): Compute negative stride
access offset and pass it to dr_misalignment.
* tree-vect-stmts.c (get_negative_load_store_type): Pass
negative offset to dr_misalignment.
(get_group_load_store_type): Likewise.
(get_load_store_type): Likewise.
(vectorizable_store): Remove asserts about alignment.
(vectorizable_load): Likewise.
2021-10-26 Kewen Lin <linkw@linux.ibm.com>
PR tree-optimization/102897
* tree-ssa-forwprop.c (simplify_permutation): Remove a wrong assertion.
2021-10-26 Richard Biener <rguenther@suse.de>
* tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
Take offset in bytes.
(vect_create_data_ref_ptr): Likewise.
* tree-vect-loop-manip.c (get_misalign_in_elems): Multiply
offset by element size.
(vect_create_cond_for_align_checks): Likewise.
* tree-vect-stmts.c (get_negative_load_store_type): Likewise.
(vectorizable_load): Remove duplicate leftover from merge
conflict.
2021-10-26 Roger Sayle <roger@nextmovesoftware.com>
* config/i386/i386-expand.c (ix86_expand_v1ti_shift): New helper
function to expand V1TI mode logical shifts by integer constants.
(ix86_expand_v1ti_rotate): New helper function to expand V1TI
mode rotations by integer constants.
* config/i386/i386-protos.h (ix86_expand_v1ti_shift,
ix86_expand_v1ti_rotate): Prototype new functions here.
* config/i386/sse.md (ashlv1ti3, lshrv1ti3, rotlv1ti3, rotrv1ti3):
New TARGET_SSE2 expanders to implement V1TI shifts and rotations.
2021-10-26 Aldy Hernandez <aldyh@redhat.com>
* tree-ssa-threadbackward.c (back_threader::maybe_register_path):
Avoid threading circular paths.
2021-10-26 Aldy Hernandez <aldyh@redhat.com>
* tree-ssa-threadbackward.c (back_threader::resolve_phi):
Attempt to resolve all incoming paths to a PHI.
(back_threader::resolve_def): Always return true for PHIs.
2021-10-26 Aldy Hernandez <aldyh@redhat.com>
* tree-ssa-threadbackward.c (back_threader::find_paths_to_names):
Always try to resolve path without looking back.
* tree-ssa-threadupdate.c (dump_jump_thread): Indidicate whether
edge is a back edge.
2021-10-26 Kewen Lin <linkw@linux.ibm.com>
PR tree-optimization/102789
* tree-vect-loop-manip.c (vect_update_inits_of_drs): Do not
update inits of simd_lane_access.
2021-10-25 Andrew MacLeod <amacleod@redhat.com>
* tree-vrp.c (vrp_simplify_cond_using_ranges): Add return type and

View File

@ -1 +1 @@
20211026
20211027

View File

@ -1,3 +1,11 @@
2021-10-26 Marek Polacek <polacek@redhat.com>
PR c++/102617
* parser.c (cp_parser_for): Maybe call cp_parser_init_statement
twice. Warn about range-based for loops with initializer here.
(cp_parser_init_statement): Don't duplicate code. Allow
alias-declaration in init-statement.
2021-10-22 Eric Gallager <egallager@gcc.gnu.org>
PR other/102663

View File

@ -1,3 +1,27 @@
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/102956
* symbol.c (gfc_check_conflict): Add conflict check for PDT KIND
and LEN type parameters.
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/102917
* decl.c (match_attr_spec): Remove invalid integer kind checks on
KIND and LEN attributes of PDTs.
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/102816
* resolve.c (resolve_structure_cons): Reject invalid array spec of
a DT component referenced in a structure constructor.
2021-10-26 Tobias Burnus <tobias@codesourcery.com>
PR fortran/102885
* trans-decl.c (gfc_conv_cfi_to_gfc): Properly handle nonconstant
character lenghts.
2021-10-25 Andrew MacLeod <amacleod@redhat.com>
* trans-decl.c (gfc_conv_cfi_to_gfc): Initialize rank to NULL_TREE.

View File

@ -1,3 +1,141 @@
2021-10-26 Martin Sebor <msebor@redhat.com>
PR tree-optimization/102238
PR tree-optimization/102919
* gcc.dg/tree-ssa/builtin-sprintf-warn-23.c: Remove warnings.
* gcc.dg/Wrestrict-23.c: New test.
2021-10-26 Martin Sebor <msebor@redhat.com>
* gcc.dg/Wstringop-overflow-22.c: Correct typos.
* gcc.dg/Wstringop-overflow-81.c: New test.
2021-10-26 Martin Sebor <msebor@redhat.com>
PR middle-end/102453
* gcc.dg/Warray-bounds-90.c: New test.
* gcc.dg/Wstringop-overflow-77.c: New test.
* gcc.dg/Wstringop-overflow-78.c: New test.
* gcc.dg/Wstringop-overflow-79.c: New test.
* gcc.dg/Wstringop-overflow-80.c: New test.
* c-c++-common/gomp/atomic-4.c: Avoid an out-of-bounds access.
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/86551
* gfortran.dg/pr86551.f90: New test to verify that PR86551 remains
fixed.
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/102956
* gfortran.dg/pdt_32.f03: New test.
2021-10-26 Vladimir N. Makarov <vmakarov@redhat.com>
PR rtl-optimization/102842
* g++.target/arm/pr102842.C: New test.
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/102917
* gfortran.dg/pdt_4.f03: Adjust testcase.
2021-10-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/102816
* gfortran.dg/pr102816.f90: New test.
2021-10-26 Paul A. Clarke <pc@us.ibm.com>
* gcc.target/powerpc/pr78102.c: Fix dg directives to require Power8
vector support. Also, add -DNO_WARN_X86_INTRINSICS.
2021-10-26 Marek Polacek <polacek@redhat.com>
PR c++/102617
* g++.dg/cpp23/init-stmt1.C: New test.
* g++.dg/cpp23/init-stmt2.C: New test.
2021-10-26 Sandra Loosemore <sandra@codesourcery.com>
PR testsuite/102910
* gfortran.dg/c-interop/cf-descriptor-5-c.c: Use a static buffer
instead of alloca.
2021-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/102834
* gcc.target/i386/avx512f-pr96891-3.c: Add -mstv -mno-stackrealign
to dg-options.
2021-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/102835
* gcc.target/i386/avx512fp16-trunchf.c: Allow for %esp instead of
%ebp.
2021-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR testsuite/102836
* gcc.target/i386/pieces-memset-1.c: Add -mno-stackrealign to
dg-options.
* gcc.target/i386/pieces-memset-4.c: Likewise.
* gcc.target/i386/pieces-memset-7.c: Likewise.
* gcc.target/i386/pieces-memset-8.c: Likewise.
* gcc.target/i386/pieces-memset-41.c: Likewise.
* gcc.target/i386/pr90773-1.c: Likewise.
2021-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/pr100704-1.c: Add -fomit-frame-pointer to
dg-options.
* gcc.target/i386/pr100704-2.c: Likewise.
2021-10-26 Kewen Lin <linkw@linux.ibm.com>
* gcc.dg/pr102897.c: New test.
2021-10-26 Tobias Burnus <tobias@codesourcery.com>
PR fortran/102885
* gfortran.dg/lto/bind-c-char_0.f90: New test.
2021-10-26 Roger Sayle <roger@nextmovesoftware.com>
* gcc.target/i386/sse2-v1ti-shift.c: New test case.
2021-10-26 Aldy Hernandez <aldyh@redhat.com>
PR testsuite/102857
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Add -fdump-tree-vrp2-stats.
Tweak for aarch64.
2021-10-26 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/tree-ssa/pr21090.c: Adjust for threading.
* gcc.dg/tree-ssa/ssa-thread-12.c: Removed.
2021-10-26 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/graphite/scop-dsyr2k-2.c: Adjust for jump threading changes.
* gcc.dg/graphite/scop-dsyr2k.c: Same.
* gcc.dg/graphite/scop-dsyrk-2.c: Same.
* gcc.dg/graphite/scop-dsyrk.c: Same.
* gcc.dg/tree-ssa/pr20701.c: Same.
* gcc.dg/tree-ssa/pr20702.c: Same.
* gcc.dg/tree-ssa/pr21086.c: Same.
* gcc.dg/tree-ssa/pr25382.c: Same.
* gcc.dg/tree-ssa/pr58480.c: Same.
* gcc.dg/tree-ssa/ssa-vrp-thread-1.c: Same.
* gcc.dg/tree-ssa/vrp08.c: Same.
* gcc.dg/tree-ssa/vrp55.c: Same.
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Same.
* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Removed.
* gcc.dg/tree-ssa/ssa-thread-11.c: Removed.
* gcc.dg/uninit-pr89230-1.c: xfail.
* gcc.dg/tree-ssa/ssa-thread-backedge.c: New file.
2021-10-25 Andrew MacLeod <amacleod@redhat.com>
* gcc.dg/tree-ssa/vrp98.c: Disable evrp for vrp1 test.

View File

@ -1,3 +1,18 @@
2021-10-26 Martin Sebor <msebor@redhat.com>
* testsuite/21_strings/basic_string/capacity/1.cc: Also suppress
-Wstringop-overread.
* testsuite/27_io/filesystem/path/factory/u8path-char8_t.cc: Same.
2021-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/28_regex/basic_regex/84110.cc (test01)
[__cpp_exceptions]: Disambiguate extended.
2021-10-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/17_intro/names.cc [__sun__] (r, x): Undef.
2021-10-22 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/102894