From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id CACBE3857C77; Sat, 3 Jul 2021 00:17:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CACBE3857C77 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-1994] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: c77230856eac2d28eb7bf10985846885c3c8727b X-Git-Newrev: 7a60a6e8b36dec960939494baef0f1f15dbfc450 Message-Id: <20210703001706.CACBE3857C77@sourceware.org> Date: Sat, 3 Jul 2021 00:17:06 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2021 00:17:07 -0000 https://gcc.gnu.org/g:7a60a6e8b36dec960939494baef0f1f15dbfc450 commit r12-1994-g7a60a6e8b36dec960939494baef0f1f15dbfc450 Author: GCC Administrator Date: Sat Jul 3 00:16:31 2021 +0000 Daily bump. Diff: --- contrib/ChangeLog | 4 ++ gcc/ChangeLog | 170 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 8 +++ gcc/c/ChangeLog | 6 ++ gcc/cp/ChangeLog | 53 +++++++++++++++ gcc/d/ChangeLog | 6 ++ gcc/testsuite/ChangeLog | 63 ++++++++++++++++++ include/ChangeLog | 7 ++ libstdc++-v3/ChangeLog | 9 +++ 10 files changed, 327 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 79a767c68ed..e38ab1e1fe4 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2021-07-02 Eugene Rozenfeld + + * gen_autofdo_event.py: handle stepping, non-working PEBS + 2021-06-28 Martin Liska * mklog.py: Handle correctly long lines. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b514c21d483..8b003c66780 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,173 @@ +2021-07-02 Martin Sebor + + 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 + + * 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 + + * 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 + + 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 + + * btfout.c (get_btf_kind): Support BTF_KIND_FLOAT. + (btf_asm_type): Likewise. + +2021-07-02 Jeff Law + + * 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 + + PR debug/101283 + * config/darwin.h (DSYMUTIL_SPEC): Do not try to run + dsymutil for BTF/CTF. + +2021-07-02 Iain Sandoe + + 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 + + * 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 + + * 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 + + * 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 + + 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 + + * config/i386/i386.c (asm_preferred_eh_data_format): Always use the + PIC encodings for PE-COFF targets. + +2021-07-02 Jakub Jelinek + + PR target/101286 + * config/i386/i386-expand.c (ix86_broadcast_from_integer_constant): + Return nullptr for TImode inner mode. + +2021-07-02 Richard Biener + + 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 + + * 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 + + * config/i386/gcc-auto-profile: regenerate + +2021-07-02 liuhongt + + * config/i386/sse.md (trunc2): Refined to .. + (trunc2): this. + 2021-07-01 David Malcolm * diagnostic.h (diagnostic_context::m_file_cache): New field. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7369508a556..7693fe4e2c5 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210702 +20210703 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ae7cafc7a9d..cd01f5c117f 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,11 @@ +2021-07-02 Jakub Jelinek + + * 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 * c-ada-spec.c (packed_layout): New global variable. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ba53da8c371..27d6e891d24 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2021-07-02 Jakub Jelinek + + 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 * c-decl.c (pop_scope): Replace direct uses of TREE_NO_WARNING with diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 13b009eac58..90a2d2a501f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,56 @@ +2021-07-02 Jakub Jelinek + + * 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 + + PR c/101297 + * parser.c (cp_parser_omp_atomic): Consume comma only if it + appears before a CPP_NAME. + +2021-07-02 Patrick Palka + + PR c++/101247 + * pt.c (any_template_parm_r) : 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 PR c++/101194 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index eb17034d909..b6ace1e6a7f 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,9 @@ +2021-07-02 Iain Buclaw + + PR d/101282 + * d-codegen.cc (build_assign): Force target_expr on RHS for non-POD + assignment expressions. + 2021-06-11 Iain Buclaw PR d/100999 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fd699df7703..e18f267bb98 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,66 @@ +2021-07-02 Iain Buclaw + + PR d/101282 + * gdc.dg/torture/pr101282.d: New test. + +2021-07-02 Jakub Jelinek + + * 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 + + PR c/101297 + * c-c++-common/gomp/atomic-24.c: New test. + +2021-07-02 Patrick Palka + + PR c++/101247 + * g++.dg/cpp2a/concepts-memtmpl4.C: New test. + +2021-07-02 Peter Bergner + + * gcc.target/powerpc/mma-builtin-7.c: New test. + * gcc.target/powerpc/mma-builtin-8.c: New test. + +2021-07-02 Andrew MacLeod + + PR tree-optimization/101223 + * gcc.dg/pr101223.c: New. + +2021-07-02 David Faust + + * 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 + + * lib/gcc-defs.exp: Add a comment. + +2021-07-02 Richard Biener + + PR tree-optimization/101293 + * gcc.dg/tree-ssa/ssa-lim-15.c: New testcase. + +2021-07-02 Jakub Jelinek + + PR target/101286 + * gcc.target/i386/avx2-pr101286.c: New test. + +2021-07-02 Hongyu Wang + + * 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 * gcc.target/powerpc/float128-cmove.c: New test. diff --git a/include/ChangeLog b/include/ChangeLog index 78018468e4e..3d6fdd2f899 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2021-07-02 David Faust + + * 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 David Faust Jose E. Marchesi diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 92582b56b8e..222b103f5c9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2021-07-02 Jonathan Wakely + + PR libstdc++/101271 + * include/bits/unique_ptr.h (unique_ptr::operator[]): + Remove noexcept-specifier. + (unique_ptr::_S_nothrow_deref): Remove. + * testsuite/20_util/unique_ptr/lwg2762.cc: Remove checks for + operator[]. + 2021-07-01 Jonathan Wakely * doc/doxygen/doxygroups.cc: Fix docs for std::literals.