aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-05-22 00:16:29 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-05-22 00:16:29 +0000
commit2832d51b383392e961373fb7067a73c6dfdc7cb1 (patch)
tree8ce5b68dc67016e432dc7309d1b97d727a0930da
parent842a05518982a130c8087d9ad6bdc457bec184e3 (diff)
downloadgcc-2832d51b383392e961373fb7067a73c6dfdc7cb1.zip
gcc-2832d51b383392e961373fb7067a73c6dfdc7cb1.tar.gz
gcc-2832d51b383392e961373fb7067a73c6dfdc7cb1.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog242
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog79
-rw-r--r--gcc/c-family/ChangeLog7
-rw-r--r--gcc/c/ChangeLog8
-rw-r--r--gcc/cp/ChangeLog8
-rw-r--r--gcc/testsuite/ChangeLog72
-rw-r--r--libgomp/ChangeLog143
-rw-r--r--libsanitizer/ChangeLog8
-rw-r--r--libstdc++-v3/ChangeLog15
10 files changed, 583 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 26b9963..5f671e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,245 @@
+2021-05-21 Aaron Sawdey <acsawdey@linux.ibm.com>
+
+ * config/rs6000/genfusion.pl (gen_addadd): New function.
+ * config/rs6000/fusion.md: Regenerate file.
+ * config/rs6000/rs6000-cpus.def: Add
+ OPTION_MASK_P10_FUSION_2ADD to masks.
+ * config/rs6000/rs6000.c (rs6000_option_override_internal):
+ Handle default value of OPTION_MASK_P10_FUSION_2ADD.
+ * config/rs6000/rs6000.opt: Add -mpower10-fusion-2add.
+
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET): Define.
+ * gimplify.c (enum gimplify_omp_var_data): Fix up
+ GOVD_MAP_HAS_ATTACHMENTS value, add GOVD_FIRSTPRIVATE_IMPLICIT.
+ (omp_lastprivate_for_combined_outer_constructs): If combined target
+ has GOVD_FIRSTPRIVATE_IMPLICIT set for the decl, change it to
+ GOVD_MAP | GOVD_SEEN.
+ (gimplify_scan_omp_clauses): Set GOVD_FIRSTPRIVATE_IMPLICIT for
+ firstprivate clauses with OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT.
+ (gimplify_adjust_omp_clauses): For firstprivate clauses with
+ OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT either clear that bit and
+ OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET too, or remove it and
+ let it be replaced by implicit map clause.
+
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * gimplify.c (omp_lastprivate_for_combined_outer_constructs): New
+ function.
+ (gimplify_scan_omp_clauses) <case OMP_CLAUSE_LASTPRIVATE>: Use it.
+ (gimplify_omp_for): Likewise.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * omp-low.c (oacc_privatization_candidate_p): Reject 'static',
+ 'external' in blocks.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * flag-types.h (enum openacc_privatization): New.
+ * params.opt (-param=openacc-privatization): New.
+ * doc/invoke.texi (openacc-privatization): Document it.
+ * omp-general.h (get_openacc_privatization_dump_flags): New
+ function.
+ * omp-low.c (oacc_privatization_candidate_p): Add diagnostics.
+ * omp-offload.c (execute_oacc_device_lower)
+ <IFN_UNIQUE_OACC_PRIVATE>: Re-work diagnostics.
+ * target.def (goacc.adjust_private_decl): Add 'location_t'
+ parameter.
+ * doc/tm.texi: Regenerate.
+ * config/gcn/gcn-protos.h (gcn_goacc_adjust_private_decl): Adjust.
+ * config/gcn/gcn-tree.c (gcn_goacc_adjust_private_decl): Likewise.
+ * config/nvptx/nvptx.c (nvptx_goacc_adjust_private_decl):
+ Likewise. Preserve it for...
+ (nvptx_goacc_expand_var_decl): ... use here.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ * doc/sourcebuild.texi (Other attributes): Document '__OPTIMIZE__'
+ DejaGnu selector.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * omp-low.c (oacc_privatization_candidate_p): New function.
+ (oacc_privatization_scan_clause_chain)
+ (oacc_privatization_scan_decl_chain): Use it. Also
+ 'gcc_checking_assert' that we're not seeing duplicates.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * omp-offload.c (execute_oacc_device_lower): Skip processing if no
+ work to be done.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * omp-offload.c (execute_oacc_device_lower): Explain.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * omp-offload.c (execute_oacc_device_lower)
+ <IFN_UNIQUE_OACC_PRIVATE>: Diagnose and handle for 'level == -1'
+ case, too.
+ * internal-fn.c (expand_UNIQUE): Don't expect
+ 'IFN_UNIQUE_OACC_PRIVATE'.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * omp-low.c (lower_omp_for): Don't evaluate OpenMP 'for' clauses.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * config/nvptx/nvptx.c (nvptx_goacc_adjust_private_decl)
+ (nvptx_goacc_expand_var_decl): Tighten.
+
+2021-05-21 Julian Brown <julian@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+ Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * doc/tm.texi.in (TARGET_GOACC_EXPAND_VAR_DECL)
+ (TARGET_GOACC_ADJUST_PRIVATE_DECL): Add documentation hooks.
+ * doc/tm.texi: Regenerate.
+ * expr.c (expand_expr_real_1): Expand decls using the
+ expand_var_decl OpenACC hook if defined.
+ * internal-fn.c (expand_UNIQUE): Handle IFN_UNIQUE_OACC_PRIVATE.
+ * internal-fn.h (IFN_UNIQUE_CODES): Add OACC_PRIVATE.
+ * omp-low.c (omp_context): Add oacc_privatization_candidates
+ field.
+ (lower_oacc_reductions): Add PRIVATE_MARKER parameter. Insert
+ before fork.
+ (lower_oacc_head_tail): Add PRIVATE_MARKER parameter. Modify
+ private marker's gimple call arguments, and pass it to
+ lower_oacc_reductions.
+ (oacc_privatization_scan_clause_chain)
+ (oacc_privatization_scan_decl_chain, lower_oacc_private_marker):
+ New functions.
+ (lower_omp_for, lower_omp_target, lower_omp_1): Use these.
+ * omp-offload.c (convert.h): Include.
+ (oacc_loop_xform_head_tail): Treat private-variable markers like
+ fork/join when transforming head/tail sequences.
+ (struct var_decl_rewrite_info): Add struct.
+ (oacc_rewrite_var_decl, is_sync_builtin_call): New functions.
+ (execute_oacc_device_lower): Support rewriting gang-private
+ variables using target hook, and fix up addr_expr and var_decl
+ nodes afterwards.
+ * target.def (adjust_private_decl, expand_var_decl): New hooks.
+ * config/gcn/gcn-protos.h (gcn_goacc_adjust_gangprivate_decl):
+ Rename to...
+ (gcn_goacc_adjust_private_decl): ...this.
+ * config/gcn/gcn-tree.c (gcn_goacc_adjust_gangprivate_decl):
+ Rename to...
+ (gcn_goacc_adjust_private_decl): ...this. Add LEVEL parameter.
+ * config/gcn/gcn.c (TARGET_GOACC_ADJUST_GANGPRIVATE_DECL): Rename
+ definition using gcn_goacc_adjust_gangprivate_decl...
+ (TARGET_GOACC_ADJUST_PRIVATE_DECL): ...to this, using
+ gcn_goacc_adjust_private_decl.
+ * config/nvptx/nvptx.c (tree-pretty-print.h): Include.
+ (gang_private_shared_size): New global variable.
+ (gang_private_shared_align): Likewise.
+ (gang_private_shared_sym): Likewise.
+ (gang_private_shared_hmap): Likewise.
+ (nvptx_option_override): Initialize these.
+ (nvptx_file_end): Output gang_private_shared_sym.
+ (nvptx_goacc_adjust_private_decl, nvptx_goacc_expand_var_decl):
+ New functions.
+ (nvptx_set_current_function): Clear gang_private_shared_hmap.
+ (TARGET_GOACC_ADJUST_PRIVATE_DECL): Define hook.
+ (TARGET_GOACC_EXPAND_VAR_DECL): Likewise.
+
+2021-05-21 H.J. Lu <hjl.tools@gmail.com>
+
+ * config/i386/i386-modes.def (MAX_BITSIZE_MODE_ANY_INT): Removed.
+
+2021-05-21 Richard Biener <rguenther@suse.de>
+ H.J. Lu <hjl.tools@gmail.com>
+
+ PR middle-end/90773
+ * expr.c (expand_constructor): Elide expand_constructor if
+ move by pieces is preferred.
+
+2021-05-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/aarch64/aarch64-builtins.c (aarch64_call_properties):
+ Take a flag and mode value as arguments.
+ (aarch64_modifies_global_state_p): Likewise.
+ (aarch64_reads_global_state_p): Likewise.
+ (aarch64_could_trap_p): Likewise.
+ (aarch64_get_attributes): Likewise.
+ (aarch64_init_simd_builtins): Adjust callsite of above.
+ (aarch64_init_fcmla_laneq_builtins): Use aarch64_get_attributes to get
+ function attributes to apply to builtins.
+ (aarch64_init_crc32_builtins): Likewise.
+ (aarch64_init_builtin_rsqrt): Likewise.
+
+2021-05-21 Aaron Sawdey <acsawdey@linux.ibm.com>
+
+ * config/rs6000/rs6000.md (define_attr "type"): Add types for fusion.
+ * config/rs6000/genfusion.pl (gen_ld_cmpi_p10): Use new fusion types.
+ (gen_2logical): Use new fusion types.
+ * config/rs6000/fusion.md: Regenerate.
+
+2021-05-21 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/100637
+ * config/i386/i386-expand.c (ix86_expand_sse_movcc):
+ Handle V4QI and V2HI modes.
+ (ix86_expand_sse_movcc): Ditto.
+ * config/i386/mmx.md (*<sat_plusminus:insn><VI_32:mode>3):
+ New instruction pattern.
+ (*eq<VI_32:mode>3): Ditto.
+ (*gt<VI_32:mode>3): Ditto.
+ (*xop_pcmov_<VI_32:mode>): Ditto.
+ (mmx_pblendvb32): Ditto.
+ (mmx_pblendvb64): Rename from mmx_pblendvb.
+ (vec_cmp<VI_32:mode><VI_32:mode>): New expander.
+ (vec_cmpu<VI_32:mode><VI_32:mode>): Ditto.
+ (vcond<VI_32:mode><VI_32:mode>): Ditto.
+ (vcondu<VI_32:mode><VI_32:mode>): Ditto.
+ (vcond_mask_<VI_32:mode><VI_32:mode>): Ditto.
+
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/94589
+ * tree-ssa-phiopt.c (spaceship_replacement): For integral rhs1 and
+ rhs2, treat x <= 4 equivalently to x < 5 etc. In cmp1 and cmp2 (if
+ not the same as cmp3) treat <= the same as < and >= the same as >.
+ Don't require that cond2_phi_edge is true edge, instead take
+ false/true edges into account based on cmp1/cmp2 comparison kinds.
+
+2021-05-21 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/100637
+ * config/i386/mmx.md (SMAXMIN_MMXMODEI): New mode iterator.
+ (<smaxmin:code><SMAXMIN_MMXMODEI:mode>3): Macroize expander
+ from <smaxmin:code>v4hi3> and <smaxmin:code><MMXMODE14:mode>3
+ using SMAXMIN_MMXMODEI mode iterator.
+ (*<smaxmin:code>v4qi3): New insn pattern.
+ (*<smaxmin:code>v2hi3): Ditto.
+ (SMAXMIN_VI_32): New mode iterator.
+ (<smaxmin:code><SMAXMIN_VI_32>mode3): New expander.
+ (UMAXMIN_MMXMODEI): New mode iterator.
+ (<umaxmin:code><UMAXMIN_MMXMODEI:mode>3): Macroize expander
+ from <umaxmin:code>v8qi3> and <umaxmin:code><MMXMODE24:mode>3
+ using UMAXMIN_MMXMODEI mode iterator.
+ (*<umaxmin:code>v4qi3): New insn pattern.
+ (*<umaxmin:code>v2hi3): Ditto.
+ (UMAXMIN_VI_32): New mode iterator.
+ (<umaxmin:code><UMAXMIN_VI_32>mode3): New expander.
+ (abs<VI_32:mode>2): New insn pattern.
+ (ssse3_abs<MMXMODEI:mode>2, abs<MMXMODEI:mode>2): Move from ...
+ * config/i386/sse.md: ... here.
+
2021-05-20 Clement Chigot <clement.chigot@atos.net>
David Edelsohn <dje.gcc@gmail.com>
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 6e5d5d3..d128d2a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210521
+20210522
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 5146820..b5ba177 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,82 @@
+2021-05-21 Piotr Trojanek <trojanek@adacore.com>
+
+ * gcc-interface/trans.c (Raise_Error_to_gnu): Add an assertion.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/utils.c (gnat_pushdecl): Fix typo in comment.
+ * gcc-interface/utils2.c (build_simple_component_ref): Build NULL_EXPR
+ if the offset of the field has overflowed.
+ (build_component_ref): Add gigi checking assertion that the reference
+ has been built and replace the discriminant check by a Program_Error.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Named_Integer>: Do
+ not pass default value in call to create_var_decl.
+ <E_Variable>: Likewise.
+ <E_Record_Subtype>: Both pass true for const_flag and false for
+ const_decl_allowed_p in call to create_var_decl.
+ Small tweaks in the generic record type case.
+ (elaborate_expression): Rename need_debug into need_for_debug and
+ adjust throughout.
+ (elaborate_expression_1): Likewise. Pass Needs_Debug_Info instead
+ of need_for_debug in call to create_var_decl.
+ (elaborate_expression_2): Likewise.
+ * gcc-interface/utils.c (maybe_pad_type): Pass false for
+ const_decl_allowed_p in call to create_var_decl.
+
+2021-05-21 Ghjuvan Lacambre <lacambre@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity): Replace ? with ??.
+ (gnat_to_gnu_param): Likewise.
+ (gnat_to_gnu_subprog_type): Likewise.
+ (warn_on_field_placement): Likewise.
+ (intrin_arglists_compatible_p): Likewise.
+ * gcc-interface/trans.c (Pragma_to_gnu): Likewise.
+ (gnat_to_gnu): Likewise.
+ (validate_unchecked_conversion): Likewise.
+ * gcc-interface/utils.c (maybe_pad_type): Likewise.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Process
+ the implementation type of a packed type implemented specially.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_subprog_type): Always translate
+ the Is_Pure flag into the "pure" attribute of GNU C.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/trans.c (Call_to_gnu): Restrict previous change
+ to bitfields whose size is not equal to the type size.
+ (gnat_to_gnu): Likewise.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/trans.c (Call_to_gnu): Minor tweaks.
+ (gnat_to_gnu_external): Likewise.
+ (Raise_Error_to_gnu): Return an empty statement list if there is a
+ condition and it is always false.
+ (gnat_to_gnu): Do not check for elaboration code a priori during the
+ translation but a posteriori instead.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/trans.c (gnat_to_gnu) <N_Simple_Return_Statement>:
+ Put a SLOC on the assignment from the return value to the return
+ object in the copy-in/copy-out case.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Replace
+ CEIL_DIV_EXPR with EXACT_DIV_EXPR.
+ * gcc-interface/misc.c (gnat_type_max_size): Likewise.
+ * gcc-interface/utils.c (maybe_pad_type): Likewise.
+ (finish_record_type): Likewise. And always compute the unit size.
+
2021-05-14 Martin Liska <mliska@suse.cz>
* doc/Makefile: Add gnat-style target.
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 6dc0400..43d4c5e 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * c-omp.c (c_omp_split_clauses): Set OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT
+ on firstprivate clause copy going to target construct, and for
+ target simd set also OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET bit.
+
2021-05-20 Jonathan Wakely <jwakely@redhat.com>
* c.opt (Wc++11-extensions, Wc++14-extensions)
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 305d816..7780539 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,11 @@
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * c-typeck.c (c_finish_omp_clauses): Move firstprivate clauses with
+ OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT to the end of the chain. Don't error
+ if a decl is mentioned both in map clause and in such firstprivate
+ clause unless OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET is also set.
+
2021-05-19 Jakub Jelinek <jakub@redhat.com>
PR middle-end/99928
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index d20edfb..2eb793e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,11 @@
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * semantics.c (finish_omp_clauses): Move firstprivate clauses with
+ OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT to the end of the chain. Don't error
+ if a decl is mentioned both in map clause and in such firstprivate
+ clause unless OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT_TARGET is also set.
+
2021-05-20 Jason Merrill <jason@redhat.com>
* call.c (reference_binding): Check for designator.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 03db569..f7b97fa 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,75 @@
+2021-05-21 Aaron Sawdey <acsawdey@linux.ibm.com>
+
+ * gcc.target/powerpc/fusion-p10-addadd.c: New file.
+
+2021-05-21 Aaron Sawdey <acsawdey@linux.ibm.com>
+
+ * gcc.target/powerpc/fusion-p10-ldcmpi.c: New file.
+ * gcc.target/powerpc/fusion-p10-2logical.c: New file.
+
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * c-c++-common/gomp/pr99928-3.c: Remove all xfails.
+ * c-c++-common/gomp/pr99928-15.c: New test.
+
+2021-05-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/99928
+ * c-c++-common/gomp/pr99928-6.c: Remove all xfails.
+ * c-c++-common/gomp/pr99928-13.c: New test.
+ * c-c++-common/gomp/pr99928-14.c: New test.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * c-c++-common/goacc/privatization-1-compute-loop.c: Update.
+ * c-c++-common/goacc/privatization-1-compute.c: Likewise.
+ * c-c++-common/goacc/privatization-1-routine_gang-loop.c:
+ Likewise.
+ * c-c++-common/goacc/privatization-1-routine_gang.c: Likewise.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * c-c++-common/goacc/privatization-1-compute-loop.c: New file.
+ * c-c++-common/goacc/privatization-1-compute.c: Likewise.
+ * c-c++-common/goacc/privatization-1-routine_gang-loop.c:
+ Likewise.
+ * c-c++-common/goacc/privatization-1-routine_gang.c: Likewise.
+ * gfortran.dg/goacc/privatization-1-compute-loop.f90: Likewise.
+ * gfortran.dg/goacc/privatization-1-compute.f90: Likewise.
+ * gfortran.dg/goacc/privatization-1-routine_gang-loop.f90:
+ Likewise.
+ * gfortran.dg/goacc/privatization-1-routine_gang.f90: Likewise.
+ * c-c++-common/goacc-gomp/nesting-1.c: Update.
+ * c-c++-common/goacc/private-reduction-1.c: Likewise.
+ * gfortran.dg/goacc/private-3.f95: Likewise.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ * lib/target-supports.exp (check_effective_target___OPTIMIZE__):
+ New proc.
+ * gcc.c-torture/compile/ssa-unused-1.c: New file.
+
+2021-05-21 Richard Biener <rguenther@suse.de>
+ H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc.target/i386/pr90773-24.c: New test.
+ * gcc.target/i386/pr90773-25.c: Likewise.
+
+2021-05-21 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/100637
+ * g++.target/i386/pr100637-1b.C: New test.
+ * g++.target/i386/pr100637-1w.C: Ditto.
+ * gcc.target/i386/pr100637-2b.c: Ditto.
+ * gcc.target/i386/pr100637-2w.c: Ditto.
+
+2021-05-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/derived_type7.adb, gnat.dg/derived_type7.ads: New test.
+
2021-05-20 Jason Merrill <jason@redhat.com>
* g++.dg/cpp2a/desig19.C: New test.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 69cdade..6b6b852 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,146 @@
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: Update.
+ * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * testsuite/libgomp.oacc-fortran/private-atomic-1-vector.f90: New
+ file.
+ * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Update.
+ * testsuite/libgomp.oacc-c-c++-common/host_data-7.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/private-atomic-1-gang.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/private-atomic-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/private-variables.c:
+ Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/routine-4.c: Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise.
+ * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise.
+ * testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/host_data-5.F90: Likewise.
+ * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/optional-private.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/private-atomic-1-gang.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/private-atomic-1-worker.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise.
+ * testsuite/libgomp.oacc-fortran/routine-7.f90: Likewise.
+
+2021-05-21 Julian Brown <julian@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+ Thomas Schwinge <thomas@codesourcery.com>
+
+ PR middle-end/90115
+ * testsuite/libgomp.oacc-c-c++-common/private-atomic-1-gang.c: New
+ test.
+ * testsuite/libgomp.oacc-fortran/private-atomic-1-gang.f90:
+ Likewise.
+ * testsuite/libgomp.oacc-fortran/private-atomic-1-worker.f90:
+ Likewise.
+
+2021-05-21 Thomas Schwinge <thomas@codesourcery.com>
+
+ * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Don't skip
+ for nvptx offloading.
+
+2021-05-21 Tobias Burnus <tobias@codesourcery.com>
+
+ * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: New.
+
2021-05-19 Thomas Schwinge <thomas@codesourcery.com>
PR target/83812
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog
index 5833998..87be850 100644
--- a/libsanitizer/ChangeLog
+++ b/libsanitizer/ChangeLog
@@ -1,3 +1,11 @@
+2021-05-21 Tamar Christina <tamar.christina@arm.com>
+
+ PR sanitizer/100379
+ * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick
+ llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
+ * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
+ * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
+
2021-05-13 Iain Sandoe <iain@sandoe.co.uk>
* LOCAL_PATCHES: Add Darwin patch for __builtin_os_log_format.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 58e0bb2..947b35d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,18 @@
+2021-05-21 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/100606
+ * include/std/ranges (drop_while_view::begin): Assert the
+ precondition added by LWG 3490.
+
+2021-05-21 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/100690
+ * include/std/ranges (iota_view::_Sentinel::_M_distance_from):
+ Split out this member function from ...
+ (iota_view::_Sentinel::operator-): ... here, for sake of access
+ control.
+ * testsuite/std/ranges/iota/iota_view.cc (test05): New test.
+
2021-05-20 Jonathan Wakely <jwakely@redhat.com>
* include/bits/random.tcc (__representable_as_double)