]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 20 May 2021 00:16:40 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 20 May 2021 00:16:40 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/jit/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog

index 19c87016ba7d735a01cd3acb889e33fd76d09d41..88ce3e9ae7e6d997b9299cc8e0e779ccc6f189d1 100644 (file)
@@ -1,3 +1,182 @@
+2021-05-19  Andrew MacLeod  <amacleod@redhat.com>
+
+       * gimple-range.cc (fur_source::get_operand): New.
+       (gimple_range_fold): Delete.
+       (fold_using_range::fold_stmt): Move from gimple_ranger::calc_stmt.
+       (fold_using_range::range_of_range_op): Move from gimple_ranger.
+       (fold_using_range::range_of_address): Ditto.
+       (fold_using_range::range_of_phi): Ditto.
+       (fold_using_range::range_of_call): Ditto.
+       (fold_using_range::range_of_builtin_ubsan_call): Move from
+       range_of_builtin_ubsan_call.
+       (fold_using_range::range_of_builtin_call): Move from
+       range_of_builtin_call.
+       (gimple_ranger::range_of_builtin_call): Delete.
+       (fold_using_range::range_of_cond_expr): Move from gimple_ranger.
+       (gimple_ranger::fold_range_internal): New.
+       (gimple_ranger::range_of_stmt): Use new fold_using_range API.
+       (fold_using_range::range_of_ssa_name_with_loop_info): Move from
+       gimple_ranger.  Improve ranges of SSA_NAMES when possible.
+       * gimple-range.h (gimple_ranger): Remove various range_of routines.
+       (class fur_source): New.
+       (class fold_using_range): New.
+       (fur_source::fur_source): New.
+       (fold_range): New.
+       * vr-values.c (vr_values::extract_range_basic): Use fold_using_range
+       instead of range_of_builtin_call.
+
+2021-05-19  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/cpp.texi (Common Predefined Macros): Update documentation
+       for the __GXX_EXPERIMENTAL_CXX0X__ macro.
+
+2021-05-19  Alex Coplan  <alex.coplan@arm.com>
+
+       PR target/100333
+       * config/arm/arm.md (nonsecure_call_internal): Always ensure
+       callee's address is in a register.
+
+2021-05-19  Geng Qi  <gengqi@linux.alibaba.com>
+
+       * common/config/riscv/riscv-common.c
+       (riscv_subset_list::parsing_subset_version): Properly parse the letter
+       'p' in '-march'.
+       (riscv_subset_list::parse_std_ext,
+        riscv_subset_list::parse_multiletter_ext): To handle errors generated
+       in riscv_subset_list::parsing_subset_version.
+
+2021-05-19  Jonathan Wright  <jonathan.wright@arm.com>
+
+       * config/aarch64/aarch64-simd.md: Use "neon_move_narrow_q"
+       type attribute in patterns generating XTN(2).
+
+2021-05-19  Jonathan Wright  <jonathan.wright@arm.com>
+
+       * config/aarch64/aarch64-simd.md (aarch64_simd_vec_pack_trunc_<mode>):
+       Remove as duplicate of...
+       (aarch64_xtn<mode>): This.
+       (aarch64_xtn2<mode>_le): Move position in file.
+       (aarch64_xtn2<mode>_be): Move position in file.
+       (aarch64_xtn2<mode>): Move position in file.
+       (vec_pack_trunc_<mode>): Define as an expander.
+
+2021-05-19  Jonathan Wright  <jonathan.wright@arm.com>
+
+       * config/aarch64/aarch64-simd-builtins.def: Split builtin
+       generation for aarch64_<sur>q<r>shr<u>n_n<mode> pattern into
+       separate scalar and vector generators.
+       * config/aarch64/aarch64-simd.md
+       (aarch64_<sur>q<r>shr<u>n_n<mode>): Define as an expander and
+       split into...
+       (aarch64_<sur>q<r>shr<u>n_n<mode>_insn_le): This and...
+       (aarch64_<sur>q<r>shr<u>n_n<mode>_insn_be): This.
+       * config/aarch64/iterators.md: Define SD_HSDI iterator.
+
+2021-05-19  Jonathn Wright  <jonathan.wright@arm.com>
+
+       * config/aarch64/aarch64-simd.md: Use UNSPEC_SQXTUN instead
+       of UNSPEC_SQXTUN2.
+       * config/aarch64/iterators.md: Remove UNSPEC_SQXTUN2.
+
+2021-05-19  Jonathan Wright  <jonathan.wright@arm.com>
+
+       * config/aarch64/aarch64-simd.md (aarch64_<sur>q<r>shr<u>n2_n<mode>):
+       Implement as an expand emitting a big/little endian
+       instruction pattern.
+       (aarch64_<sur>q<r>shr<u>n2_n<mode>_insn_le): Define.
+       (aarch64_<sur>q<r>shr<u>n2_n<mode>_insn_be): Define.
+
+2021-05-19  Jonathan Wright  <jonathan.wright@arm.com>
+
+       * config/aarch64/aarch64-simd.md (aarch64_<sur><addsub>hn2<mode>):
+       Implement as an expand emitting a big/little endian
+       instruction pattern.
+       (aarch64_<sur><addsub>hn2<mode>_insn_le): Define.
+       (aarch64_<sur><addsub>hn2<mode>_insn_be): Define.
+       * config/aarch64/iterators.md: Remove UNSPEC_[R]ADDHN2 and
+       UNSPEC_[R]SUBHN2 unspecs and ADDSUBHN2 iterator.
+
+2021-05-19  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/100672
+       * fold-const.c (fold_negate_expr_1): Use element_precision.
+       (negate_expr_p): Likewise.
+
+2021-05-19  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * config/aarch64/iterators.md (SVE_PRED_LOAD): New iterator.
+       (pred_load): New int attribute.
+       * config/aarch64/aarch64-sve.md
+       (aarch64_load_<ANY_EXTEND:optab><SVE_HSDI:mode><SVE_PARTIAL_I:mode>): Use
+       SVE_PRED_LOAD enum iterator and corresponding pred_load attribute.
+       * config/aarch64/aarch64-sve-builtins-base.cc (expand): Update call to
+       code_for_aarch64_load.
+
+2021-05-19  Richard Biener  <rguenther@suse.de>
+
+       * cfgexpand.c (discover_nonconstant_array_refs_r): Make
+       sure TARGET_MEM_REF bases are expanded as memory.
+       * tree-ssa-operands.c (operands_scanner::get_tmr_operands):
+       Do not mark TARGET_MEM_REF bases addressable.
+       * tree-ssa.c (non_rewritable_mem_ref_base): Handle
+       TARGET_MEM_REF bases as never rewritable.
+       * gimple-walk.c (walk_stmt_load_store_addr_ops): Do not
+       walk TARGET_MEM_REF bases as address-takens.
+       * tree-ssa-dce.c (ref_may_be_aliased): Handle TARGET_MEM_REF.
+
+2021-05-19  Richard Biener  <rguenther@suse.de>
+
+       * builtins.c (get_object_alignment_1): Strip outer
+       WITH_SIZE_EXPR.
+       * tree-dfa.c (get_ref_base_and_extent): Handle outer
+       WITH_SIZE_EXPR for size processing and process the
+       containing ref.
+       * tree-ssa-alias.c (ao_ref_base_alias_set): Strip
+       outer WITH_SIZE_EXPR.
+       (ao_ref_base_alias_ptr_type): Likewise.
+       (refs_may_alias_p_2): Allow WITH_SIZE_EXPR in ref->ref
+       and handle that accordingly, stripping it for the
+       core alias workers.
+       * tree.c (get_base_address): Handle WITH_SIZE_EXPR by
+       looking through it instead of returning NULL.
+
+2021-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/100576
+       * builtins.c (check_read_access): Convert bound to size_type_node if
+       non-NULL.
+
+2021-05-19  Richard Biener  <rguenther@suse.de>
+
+       * tree-cfg.c (verify_types_in_gimple_min_lval): Inline...
+       (verify_types_in_gimple_reference): ... here.  Sanitize.
+       (verify_gimple_call): Verify references in LHS and arguments.
+       (verify_gimple_assign_single): Reject WITH_SIZE_EXPR.
+
+2021-05-19  Uroš Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (VALID_INT_MODE_P):
+       Add V8QI, V4HI and V2SI modes for TARGET_64BIT.
+       * config/i386/i386.md (isa): Add x64_bmi.
+       (enabled): Handle x64_bmi.
+       * config/i386/mmx.md (mmx_andnot<MMXMODEI:mode>3):
+       Add alternative using 64bit general registers.
+       (*mmx_<any_logic:code><MMXMODEI:mode>3): Ditto.
+
+2021-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * tree.h (OMP_MASTER_COMBINED): Define.
+       * gimplify.c (gimplify_scan_omp_clauses): Rewrite lastprivate
+       handling for outer combined/composite constructs to a loop.
+       Handle lastprivate on combined target.
+       (gimplify_expr): Formatting fix.
+
+2021-05-19  Xionghu Luo  <luoxhu@linux.ibm.com>
+
+       * passes.def: Add sink_code pass before store_merging.
+       * tree-ssa-sink.c (pass_sink_code:clone): New.
+
 2021-05-18  Bill Schmidt  <wschmidt@linux.ibm.com>
 
        * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Remove call to
index da5d88b61f70bd0c915058cbcddc58f6b3dd7277..e63f6d4142a927799f8be8034647d5bbca57a683 100644 (file)
@@ -1 +1 @@
-20210519
+20210520
index ed45d292b4d3bc093e9ddc383a17842889e0470d..6fd6790098b6e639166e40eb4cdbc838f3e029fa 100644 (file)
@@ -1,3 +1,9 @@
+2021-05-19  Martin Sebor  <msebor@redhat.com>
+
+       PR c/100619
+       * c-attribs.c (build_attr_access_from_parms): Handle arbitrarily many
+       bounds.
+
 2021-05-18  Richard Biener  <rguenther@suse.de>
 
        PR c/100547
index 8832602b77939c26fb55810ede184bcba33f3bd2..305d8166d6a280ab11cf94a9a21b62cc4605eeae 100644 (file)
@@ -1,3 +1,11 @@
+2021-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * c-parser.c (c_parser_omp_master): Set OMP_MASTER_COMBINED on
+       master when combined with taskloop.
+       (c_parser_omp_parallel): Don't set OMP_PARALLEL_COMBINED on
+       parallel master when not combined with taskloop.
+
 2021-05-18  Richard Biener  <rguenther@suse.de>
 
        PR c/100522
index 45588a827ecfa7a50b7ff2ca8f7b7332aeec6eb9..3f7cf15d5b71b9481f3c76f0e7457e68c4785f33 100644 (file)
@@ -1,3 +1,50 @@
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100367
+       PR c++/96299
+       * method.c (genericize_spaceship): Use fold_build2 for scalar
+       operands.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       * pt.c (build_deduction_guide): Treat the implicit deduction guide
+       as a member of the class.
+
+2021-05-19  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/100596
+       * cp-tree.h (any_non_type_attribute_p): Remove.
+       * decl.c (grokdeclarator): Turn an error into a warning and only
+       warn for standard attributes.
+       * decl2.c (any_non_type_attribute_p): Remove.
+       * parser.c (cp_parser_elaborated_type_specifier): Turn an error
+       into a warning and only warn for standard attributes.
+       (cp_parser_member_declaration): Likewise.
+
+2021-05-19  Martin Liska  <mliska@suse.cz>
+
+       PR testsuite/100658
+       * mangle.c (write_encoding): Fix typos.
+
+2021-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * parser.c (cp_parser_omp_master): Set OMP_MASTER_COMBINED on
+       master when combined with taskloop.
+       (cp_parser_omp_parallel): Don't set OMP_PARALLEL_COMBINED on
+       parallel master when not combined with taskloop.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100261
+       * rtti.c (get_tinfo_decl_direct): Check TYPE_TRANSPARENT_AGGR.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100372
+       * tree.c (strip_typedefs): Only look at the pattern of a
+       TYPE_PACK_EXPANSION if it's a type.
+
 2021-05-18  Marek Polacek  <polacek@redhat.com>
 
        * class.c (classtype_has_non_deleted_copy_ctor): Remove.
index 106a537c21eac4ecf0d6e64bf581d0482fa8fac6..819aa97450cf59b65e364a2d45b3ffd266ef908b 100644 (file)
@@ -1,3 +1,8 @@
+2021-05-19  Martin Liska  <mliska@suse.cz>
+
+       PR testsuite/100658
+       * libgccjit.c (gcc_jit_context_new_function): Fix typos.
+
 2021-03-24  Matthias Klose  <doko@ubuntu.com>
 
        * Make-lang.in (jit.sphinx.html, jit.sphinx.pdf): Use $(mkinstalldirs),
index e9a410e785f8dfe17671dd3a789dc88aeabf9784..740f985b8d9f6967951dcf3ce681875d7734959f 100644 (file)
@@ -1,3 +1,129 @@
+2021-05-19  Martin Sebor  <msebor@redhat.com>
+
+       PR c/100619
+       * gcc.dg/pr100619.c: New test.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100367
+       PR c++/96299
+       * g++.dg/cpp2a/spaceship-fallback1.C: New test.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/cpp1z/class-deduction-access1.C: New test.
+       * g++.dg/cpp1z/class-deduction-access2.C: New test.
+
+2021-05-19  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/100596
+       * g++.dg/cpp0x/friend7.C: Turn a few dg-warnings into dg-errors.
+       Remove dg-errors for GNU attributes.
+       * g++.dg/ext/attrib63.C: Remove dg-error.
+       * g++.dg/cpp0x/friend8.C: New test.
+
+2021-05-19  Kito Cheng  <kito.cheng@sifive.com>
+
+       * g++.dg/modules/omp-1_a.C: Check pthread is available.
+       * g++.dg/modules/omp-1_b.C: Ditto.
+       * g++.dg/modules/omp-1_c.C: Ditto.
+       * g++.dg/modules/omp-2_a.C: Ditto.
+       * g++.dg/modules/omp-2_b.C: Ditto.
+
+2021-05-19  Alex Coplan  <alex.coplan@arm.com>
+
+       PR target/100333
+       * gcc.target/arm/cmse/pr100333.c: New test.
+
+2021-05-19  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR target/99977
+       * gcc.target/arm/pr99977.c: Require arm_arch_v8m_base.
+
+2021-05-19  Geng Qi  <gengqi@linux.alibaba.com>
+
+       * gcc.target/riscv/arch-12.c: New.
+       * gcc.target/riscv/attribute-19.c: New.
+
+2021-05-19  Jonathan Wright  <jonathan.wright@arm.com>
+
+       * gcc.target/aarch64/narrow_high_combine.c: New test.
+
+2021-05-19  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/100672
+       * gcc.dg/torture/pr100672.c: New testcase.
+
+2021-05-19  Martin Liska  <mliska@suse.cz>
+
+       PR testsuite/100658
+       * gcc.dg/local1.c: Fix typos.
+       * gcc.dg/ucnid-5-utf8.c: Likewise.
+       * gcc.dg/ucnid-5.c: Likewise.
+
+2021-05-19  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * gcc.target/aarch64/sve/logical_unpacked_and_2.c: Change
+       scan-assembly-times to scan-assembly not for superfluous uxtb.
+       * gcc.target/aarch64/sve/logical_unpacked_and_3.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_and_4.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_and_6.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_and_7.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_eor_2.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_eor_3.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_eor_4.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_eor_6.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_eor_7.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_orr_2.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_orr_3.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_orr_4.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_orr_6.c: Likewise.
+       * gcc.target/aarch64/sve/logical_unpacked_orr_7.c: Likewise.
+       * gcc.target/aarch64/sve/ld1_extend.c: New test.
+
+2021-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/100576
+       * gcc.c-torture/compile/pr100576.c: New test.
+
+2021-05-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gcc.dg/tree-ssa/ssa-sink-3.c: Fix test case.
+
+2021-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/99928
+       * c-c++-common/gomp/pr99928-2.c: Remove all xfails.
+       * c-c++-common/gomp/pr99928-12.c: New test.
+
+2021-05-19  Xionghu Luo  <luoxhu@linux.ibm.com>
+
+       * gcc.dg/tree-ssa/ssa-sink-1.c: Adjust.
+       * gcc.dg/tree-ssa/ssa-sink-2.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-3.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-4.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-5.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-6.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-7.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-8.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-9.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-10.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-13.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-14.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-16.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-17.c: Ditto.
+       * gcc.dg/tree-ssa/ssa-sink-18.c: New.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100261
+       * g++.dg/dfp/mangle-6.C: New test.
+
+2021-05-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/100372
+       * g++.dg/cpp0x/alias-decl-ttp1.C: New test.
+
 2021-05-18  Bill Schmidt  <wschmidt@linux.ibm.com>
 
        * gcc.target/powerpc/ppc64-abi-warn-1.c: Remove.
index 149e5d7c133f4483bfb02ad151d6d251ca705bcd..69cdadeaba5ccc1363b1da4d19c8c711f3a8fa28 100644 (file)
@@ -1,3 +1,12 @@
+2021-05-19  Thomas Schwinge  <thomas@codesourcery.com>
+
+       PR target/83812
+       * testsuite/libgomp.oacc-c-c++-common/private-atomic-1.c: New.
+
+2021-05-19  Julian Brown  <julian@codesourcery.com>
+
+       * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: New.
+
 2021-05-18  Thomas Schwinge  <thomas@codesourcery.com>
 
        * testsuite/lib/libgomp.exp