]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 3 Jul 2021 00:16:31 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 3 Jul 2021 00:16:31 +0000 (00:16 +0000)
contrib/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/d/ChangeLog
gcc/testsuite/ChangeLog
include/ChangeLog
libstdc++-v3/ChangeLog

index 79a767c68ed9bbf089d2b4b25a9d0a0b0026da18..e38ab1e1fe4a5f7b2fd97bc9991b113c62122e67 100644 (file)
@@ -1,3 +1,7 @@
+2021-07-02  Eugene Rozenfeld  <erozen@microsoft.com>
+
+       * gen_autofdo_event.py: handle stepping, non-working PEBS
+
 2021-06-28  Martin Liska  <mliska@suse.cz>
 
        * mklog.py: Handle correctly long lines.
index b514c21d4834ff31deac493d1c64482a87ef3dfd..8b003c66780470e6b499c3c689c36efe562b1139 100644 (file)
@@ -1,3 +1,173 @@
+2021-07-02  Martin Sebor  <msebor@redhat.com>
+
+       PR middle-end/98871
+       PR middle-end/98512
+       * diagnostic.c (get_any_inlining_info): New.
+       (update_effective_level_from_pragmas): Handle inlining context.
+       (diagnostic_enabled): Same.
+       (diagnostic_report_diagnostic): Same.
+       * diagnostic.h (struct diagnostic_info): Add ctor.
+       (struct diagnostic_context): Add new member.
+       * tree-diagnostic.c (set_inlining_locations): New.
+       (tree_diagnostics_defaults): Set new callback pointer.
+
+2021-07-02  Peter Bergner  <bergner@linux.ibm.com>
+
+       * config/rs6000/rs6000-builtin.def (BU_MMA_PAIR_LD, BU_MMA_PAIR_ST):
+       New macros.
+       (__builtin_vsx_lxvp, __builtin_vsx_stxvp): New built-ins.
+       * config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Expand
+       lxvp and stxvp built-ins.
+       (mma_init_builtins): Handle lxvp and stxvp built-ins.
+       (builtin_function_type): Likewise.
+       * doc/extend.texi (__builtin_vsx_lxvp, __builtin_mma_stxvp): Document.
+
+2021-07-02  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * config/h8300/h8300-protos.h (compute_a_shift_cc): Accept
+       additional argument for the code.
+       * config/h8300/h8300.c (compute_a_shift_cc): Accept additional
+       argument for the code.  Just return if the ZN bits are useful or
+       not rather than the old style CC_* enums.
+       * config/h8300/shiftrotate.md (shiftqi_noscratch): Move before
+       more generic shiftqi patterns.
+       (shifthi_noscratch, shiftsi_noscratch): Similarly.
+       (shiftqi_noscratch_set_flags): New pattern.
+       (shifthi_noscratch_set_flags, shiftsi_noscratch_set_flags): Likewise.
+
+2021-07-02  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/101223
+       * range-op.cc (build_lt): Add -1 for signed values.
+       (built_gt): Subtract -1 for signed values.
+
+2021-07-02  David Faust  <david.faust@oracle.com>
+
+       * btfout.c (get_btf_kind): Support BTF_KIND_FLOAT.
+       (btf_asm_type): Likewise.
+
+2021-07-02  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * config/h8300/h8300-protos.h (output_a_shift): Make first argument
+       an array of rtx rather than a pointer to rtx.  Add code argument.
+       (compute_a_shift_length): Similarly.
+       * config/h8300/h8300.c (h8300_shift_costs): Adjust now that the
+       shift itself isn't an operand.  Create dummy operand[0] to carry
+       a mode and pass a suitable rtx code to compute_a_shift_length.
+       (get_shift_alg): Adjust operand number of clobber in output templates.
+       (output_a_shift): Make first argument an array of rtx rather than
+       a pointer to rtx.  Add code argument for the type of shift.
+       Adjust now that the shift itself is no longer an operand.
+       (compute_a_shift_length): Similarly.
+       * config/h8300/shiftrotate.md (shiftqi, shifthi, shiftsi): Use an
+       iterator rather than nshift_operator.
+       (shiftqi_noscratch, shifthi_noscratch, shiftsi_noscratch): Likewise.
+       (shiftqi_clobber_flags): Adjust to API changes in output_a_shift
+       and compute_a_shift_length.
+       (shiftqi_noscratch_clobber_flags): Likewise.
+       (shifthi_noscratch_clobber_flags): Likewise.
+       (shiftsi_noscratch_clobber_flags): Likewise.
+
+2021-07-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR debug/101283
+       * config/darwin.h (DSYMUTIL_SPEC): Do not try to run
+       dsymutil for BTF/CTF.
+
+2021-07-02  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR debug/101283
+       * config/darwin.h (CTF_INFO_SECTION_NAME): Update the
+       segment to include BTF.
+       (BTF_INFO_SECTION_NAME): New.
+
+2021-07-02  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * config/m32r/m32r-protos.h (call_operand): Adjust return type.
+       (small_data_operand, memreg_operand, small_insn_p): Likewise.
+       * config/m32r/m32r.c (call_operand): Adjust return type.
+       (small_data_operand, memreg_operand): Likewise.
+
+2021-07-02  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * config/frv/frv-protos.h  (integer_register_operand): Adjust return
+       type.
+       (frv_load_operand, gpr_or_fpr_operand, gpr_no_subreg_operand): Likewise.
+       (fpr_or_int6_operand, gpr_or_int_operand); Likewise.
+       (gpr_or_int12_operand, gpr_or_int10_operand); Likewise.
+       (move_source_operand, move_destination_operand): Likewise.
+       (condexec_source_operand, condexec_dest_operand): Likewise.
+       (lr_operand, gpr_or_memory_operand, fpr_or_memory_operand): Likewise.
+       (reg_or_0_operand, fcc_operand, icc_operand, cc_operand): Likewise.
+       (fcr_operand, icr_operand, cr_operand, call_operand): Likewise.
+       (fpr_operand, even_reg_operand, odd_reg_operand): Likewise.
+       (even_gpr_operand, odd_gpr_operand, quad_fpr_operand): Likewise.
+       (even_fpr_operand, odd_fpr_operand): Likewise.
+       (dbl_memory_one_insn_operand, dbl_memory_two_insn_operand): Likewise.
+       (int12_operand, int6_operand, int5_operand, uint5_operand): Likewise.
+       (uint4_operand, uint1_operand, int_2word_operand): Likewise
+       (upper_int16_operand, uint16_operand, symbolic_operand): Likewise.
+       (relational_operator, float_relational_operator): Likewise.
+       (ccr_eqne_operator, minmax_operator): Likewise.
+       (condexec_si_binary_operator, condexec_si_media_operator): Likewise.
+       (condexec_si_divide_operator, condexec_si_unary_operator): Likewise.
+       (condexec_sf_conv_operator, condexec_sf_add_operator): Likewise.
+       (intop_compare_operator, acc_operand, even_acc_operand): Likewise.
+       (quad_acc_operand, accg_operand): Likewise.
+
+2021-07-02  Jeff Law  <jeffreyalaw@gmail.com>
+
+       * config/stormy16/stormy16-protos.h (xstormy16_below_100_symbol): Change
+       return type to a bool.
+       (nonimmediate_nonstack_operand): Likewise.
+       (xstormy16_splittable_below100_operand): Likewise.
+       * config/stormy16/stormy16.c (xstormy16_below_100_symbol): Fix
+       return type.
+       (xstormy16_splittable_below100_operand): Likewise.
+
+2021-07-02  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/101293
+       * tree-ssa-loop-im.c (mem_ref_hasher::equal): Compare MEM_REF bases
+       with combined offsets.
+       (gather_mem_refs_stmt): Hash MEM_REFs as if their offset were
+       combined with the rest of the offset.
+
+2021-07-02  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/i386/i386.c (asm_preferred_eh_data_format): Always use the
+       PIC encodings for PE-COFF targets.
+
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/101286
+       * config/i386/i386-expand.c (ix86_broadcast_from_integer_constant):
+       Return nullptr for TImode inner mode.
+
+2021-07-02  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/101280
+       PR tree-optimization/101173
+       * gimple-loop-interchange.cc
+       (tree_loop_interchange::valid_data_dependences): Properly
+       guard all dependence checks with DDR_REVERSED_P or its
+       inverse.
+
+2021-07-02  Hongyu Wang  <hongyu.wang@intel.com>
+
+       * config/i386/i386-expand.c (ix86_expand_builtin):
+       Add branch to clear odata when ZF is set for asedecenc_expand
+       and wideaesdecenc_expand.
+
+2021-07-02  Eugene Rozenfeld  <erozen@microsoft.com>
+
+       * config/i386/gcc-auto-profile: regenerate
+
+2021-07-02  liuhongt  <hongtao.liu@intel.com>
+
+       * config/i386/sse.md (trunc<mode><pmov_dst_4>2): Refined to ..
+       (trunc<mode><pmov_dst_4_lower>2): this.
+
 2021-07-01  David Malcolm  <dmalcolm@redhat.com>
 
        * diagnostic.h (diagnostic_context::m_file_cache): New field.
index 7369508a556ad132485eee8ce22f695d57bb82ac..7693fe4e2c5a5ba41e5fa613794e26aa1562a552 100644 (file)
@@ -1 +1 @@
-20210702
+20210703
index ae7cafc7a9d70e4dbcf5f2935cc5484f36fd6800..cd01f5c117fbfe8503030205b556e4833084c7ca 100644 (file)
@@ -1,3 +1,11 @@
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-common.h (enum c_omp_directive_kind): New enum.
+       (struct c_omp_directive): New type.
+       (c_omp_categorize_directive): Declare.
+       * c-omp.c (omp_directives): New variable.
+       (c_omp_categorize_directive): New function.
+
 2021-07-01  Eric Botcazou  <ebotcazou@adacore.com>
 
        * c-ada-spec.c (packed_layout): New global variable.
index ba53da8c371c8fce3dac0bd13f7071d87d8021f1..27d6e891d24e9da36c75af7033f4955cee551ce0 100644 (file)
@@ -1,3 +1,9 @@
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/101297
+       * c-parser.c (c_parser_omp_atomic): Consume comma only if it
+       appears before a CPP_NAME.
+
 2021-06-25  Martin Sebor  <msebor@redhat.com>
 
        * c-decl.c (pop_scope): Replace direct uses of TREE_NO_WARNING with
index 13b009eac58ee295f30f1d2e7e69b955a7cbfbb6..90a2d2a501f1c8cd498eb7fd409ae333a581d920 100644 (file)
@@ -1,3 +1,56 @@
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * parser.h (struct cp_lexer): Add in_omp_attribute_pragma member.
+       (struct cp_omp_declare_simd_data): Likewise.
+       * cp-tree.h (enum cp_tree_index): Add CPTI_OMP_IDENTIFIER.
+       (omp_identifier): Define.
+       * parser.c (cp_parser_skip_to_pragma_eol): Handle
+       in_omp_attribute_pragma CPP_PRAGMA_EOL followed by CPP_EOF.
+       (cp_parser_require_pragma_eol): Likewise.
+       (struct cp_omp_attribute_data): New type.
+       (cp_parser_handle_statement_omp_attributes): New function.
+       (cp_parser_statement): Handle OpenMP directives in statement's
+       attribute-specifier-seq.
+       (cp_parser_omp_directive_args, cp_parser_omp_sequence_args): New
+       functions.
+       (cp_parser_std_attribute): Handle omp::directive and omp::sequence
+       attributes.
+       (cp_parser_omp_all_clauses): If in_omp_attribute_pragma, allow
+       a comma also before the first clause.
+       (cp_parser_omp_allocate): Likewise.
+       (cp_parser_omp_atomic): Likewise.
+       (cp_parser_omp_depobj): Likewise.
+       (cp_parser_omp_flush): Likewise.
+       (cp_parser_omp_ordered): Likewise.
+       (cp_parser_omp_declare_simd): Save in_omp_attribute_pragma
+       into struct cp_omp_declare_simd_data.
+       (cp_finish_omp_declare_variant): Add in_omp_attribute_pragma
+       argument.  If set, allow a comma also before match clause.
+       (cp_parser_late_parsing_omp_declare_simd): If in_omp_attribute_pragma,
+       allow a comma also before the first clause.  Adjust
+       cp_finish_omp_declare_variant caller.
+       (cp_parser_omp_declare_target): If in_omp_attribute_pragma, allow
+       a comma also before the first clause.
+       (cp_parser_omp_declare_reduction_exprs): Likewise.
+       (cp_parser_omp_requires): Likewise.
+       * decl.c (initialize_predefined_identifiers): Initialize
+       omp_identifier.
+       * decl2.c (cplus_decl_attributes): Reject omp::directive and
+       omp::sequence attributes.
+
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/101297
+       * parser.c (cp_parser_omp_atomic): Consume comma only if it
+       appears before a CPP_NAME.
+
+2021-07-02  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/101247
+       * pt.c (any_template_parm_r) <case TEMPLATE_DECL>: Rewrite to
+       use common_enclosing_class and to not depend on the TREE_TYPE
+       of outer levels pointing to the corresponding primary template.
+
 2021-07-01  Patrick Palka  <ppalka@redhat.com>
 
        PR c++/101194
index eb17034d909e8dd45eb1a04d2476eebdac62e6fa..b6ace1e6a7f5db15694f5eb5d382691de3237e6f 100644 (file)
@@ -1,3 +1,9 @@
+2021-07-02  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/101282
+       * d-codegen.cc (build_assign): Force target_expr on RHS for non-POD
+       assignment expressions.
+
 2021-06-11  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        PR d/100999
index fd699df77031446a514d0dd515f8db605d825e4a..e18f267bb98351d99511749985963eab51563ea1 100644 (file)
@@ -1,3 +1,66 @@
+2021-07-02  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/101282
+       * gdc.dg/torture/pr101282.d: New test.
+
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/gomp/attrs-1.C: New test.
+       * g++.dg/gomp/attrs-2.C: New test.
+       * g++.dg/gomp/attrs-3.C: New test.
+
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/101297
+       * c-c++-common/gomp/atomic-24.c: New test.
+
+2021-07-02  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/101247
+       * g++.dg/cpp2a/concepts-memtmpl4.C: New test.
+
+2021-07-02  Peter Bergner  <bergner@linux.ibm.com>
+
+       * gcc.target/powerpc/mma-builtin-7.c: New test.
+       * gcc.target/powerpc/mma-builtin-8.c: New test.
+
+2021-07-02  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/101223
+       * gcc.dg/pr101223.c: New.
+
+2021-07-02  David Faust  <david.faust@oracle.com>
+
+       * gcc.dg/debug/btf/btf-float-1.c: New test.
+       * gcc.dg/debug/btf/btf-function-3.c: Use different unrepresentable type.
+       * gcc.dg/debug/btf/btf-struct-2.c: Likewise.
+       * gcc.dg/debug/btf/btf-variables-2.c: Likewise.
+
+2021-07-02  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
+
+       * lib/gcc-defs.exp: Add a comment.
+
+2021-07-02  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/101293
+       * gcc.dg/tree-ssa/ssa-lim-15.c: New testcase.
+
+2021-07-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/101286
+       * gcc.target/i386/avx2-pr101286.c: New test.
+
+2021-07-02  Hongyu Wang  <hongyu.wang@intel.com>
+
+       * gcc.target/i386/keylocker-aesdec128kl.c: Update test.
+       * gcc.target/i386/keylocker-aesdec256kl.c: Likewise.
+       * gcc.target/i386/keylocker-aesdecwide128kl.c: Likewise.
+       * gcc.target/i386/keylocker-aesdecwide256kl.c: Likewise.
+       * gcc.target/i386/keylocker-aesenc128kl.c: Likewise.
+       * gcc.target/i386/keylocker-aesenc256kl.c: Likewise.
+       * gcc.target/i386/keylocker-aesencwide128kl.c: Likewise.
+       * gcc.target/i386/keylocker-aesencwide256kl.c: Likewise.
+
 2021-07-01  Michael Meissner  <meissner@linux.ibm.com>
 
        * gcc.target/powerpc/float128-cmove.c: New test.
index 78018468e4e2fff360071ae345b41b2bf05a3f76..3d6fdd2f8991bf4dfe76d2e8bc74153799d44137 100644 (file)
@@ -1,3 +1,10 @@
+2021-07-02  David Faust  <david.faust@oracle.com>
+
+       * btf.h (struct btf_type): Update bit usage comment.
+       (BTF_INFO_KIND): Update bit mask.
+       (BTF_KIND_FLOAT): New define.
+       (BTF_KIND_MAX): Update.
+
 2021-06-28  Indu Bhagat  <indu.bhagat@oracle.com>
            David Faust  <david.faust@oracle.com>
            Jose E. Marchesi  <jose.marchesi@oracle.com>
index 92582b56b8eef85f5b68950dc6cc8cd87d7027c5..222b103f5c93be27d280a6cfc511f2fd4522469d 100644 (file)
@@ -1,3 +1,12 @@
+2021-07-02  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/101271
+       * include/bits/unique_ptr.h (unique_ptr<T[],D>::operator[]):
+       Remove noexcept-specifier.
+       (unique_ptr<T[],D>::_S_nothrow_deref): Remove.
+       * testsuite/20_util/unique_ptr/lwg2762.cc: Remove checks for
+       operator[].
+
 2021-07-01  Jonathan Wakely  <jwakely@redhat.com>
 
        * doc/doxygen/doxygroups.cc: Fix docs for std::literals.