aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-07-03 00:16:31 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-07-03 00:16:31 +0000
commit7a60a6e8b36dec960939494baef0f1f15dbfc450 (patch)
tree5fd3554d2040754dda4e795d0b3458b0afc38ad7
parentc77230856eac2d28eb7bf10985846885c3c8727b (diff)
downloadgcc-7a60a6e8b36dec960939494baef0f1f15dbfc450.zip
gcc-7a60a6e8b36dec960939494baef0f1f15dbfc450.tar.gz
gcc-7a60a6e8b36dec960939494baef0f1f15dbfc450.tar.bz2
Daily bump.
-rw-r--r--contrib/ChangeLog4
-rw-r--r--gcc/ChangeLog170
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog8
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog53
-rw-r--r--gcc/d/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog63
-rw-r--r--include/ChangeLog7
-rw-r--r--libstdc++-v3/ChangeLog9
10 files changed, 327 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 79a767c..e38ab1e 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b514c21..8b003c6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 7369508..7693fe4 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210702
+20210703
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index ae7cafc..cd01f5c 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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.
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index ba53da8..27d6e89 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -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
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 13b009e..90a2d2a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index eb17034..b6ace1e 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fd699df..e18f267 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/include/ChangeLog b/include/ChangeLog
index 7801846..3d6fdd2 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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>
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 92582b5..222b103 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.