aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/ChangeLog4
-rw-r--r--gcc/ChangeLog198
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog249
-rw-r--r--gcc/cp/ChangeLog18
-rw-r--r--gcc/fortran/ChangeLog10
-rw-r--r--gcc/testsuite/ChangeLog160
-rw-r--r--libffi/ChangeLog85
-rw-r--r--libgomp/ChangeLog23
-rw-r--r--libstdc++-v3/ChangeLog5
10 files changed, 753 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index c2fcf56..d36e6f1 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2021-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc-changelog/git_commit.py (ignored_prefixes): Add libffi/.
+
2021-10-18 Martin Liska <mliska@suse.cz>
* gcc-changelog/git_commit.py: Update location of
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 01d4a86..115f32e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,201 @@
+2021-10-20 Alex Coplan <alex.coplan@arm.com>
+
+ * calls.c (initialize_argument_information): Remove some dead
+ code, remove handling for function_arg returning const_int.
+ * doc/tm.texi: Delete documentation for unused target hooks.
+ * doc/tm.texi.in: Likewise.
+ * target.def (load_bounds_for_arg): Delete.
+ (store_bounds_for_arg): Delete.
+ (load_returned_bounds): Delete.
+ (store_returned_bounds): Delete.
+ * targhooks.c (default_load_bounds_for_arg): Delete.
+ (default_store_bounds_for_arg): Delete.
+ (default_load_returned_bounds): Delete.
+ (default_store_returned_bounds): Delete.
+ * targhooks.h (default_load_bounds_for_arg): Delete.
+ (default_store_bounds_for_arg): Delete.
+ (default_load_returned_bounds): Delete.
+ (default_store_returned_bounds): Delete.
+
+2021-10-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/extend.texi (Basic Asm): Clarify that asm is not an
+ extension in C++.
+ * doc/invoke.texi (-fno-asm): Fix description for C++.
+
+2021-10-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/install.texi: Remove link to old.html
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * config/aarch64/aarch64-simd.md (*aarch64_cmtst_same_<mode>): New.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * config/aarch64/aarch64-simd.md (*aarch64_narrow_trunc<mode>): New.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * config/aarch64/aarch64-simd.md (aarch64_simd_ashr<mode>): Add case cmp
+ case.
+ * config/aarch64/constraints.md (D1): New.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * config/aarch64/aarch64-simd.md
+ (*aarch64_<srn_op>topbits_shuffle<mode>_le): New.
+ (*aarch64_topbits_shuffle<mode>_le): New.
+ (*aarch64_<srn_op>topbits_shuffle<mode>_be): New.
+ (*aarch64_topbits_shuffle<mode>_be): New.
+ * config/aarch64/predicates.md
+ (aarch64_simd_shift_imm_vec_exact_top): New.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * config/aarch64/aarch64-simd.md (*aarch64_<srn_op>shrn<mode>_vect,
+ *aarch64_<srn_op>shrn<mode>2_vect_le,
+ *aarch64_<srn_op>shrn<mode>2_vect_be): New.
+ * config/aarch64/iterators.md (srn_op): New.
+
+2021-10-20 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * omp-low.c (omp_copy_decl_2): For !ctx, use record_vars to add new copy
+ as local variable.
+ (scan_sharing_clauses): Place copy of OMP_CLAUSE_IN_REDUCTION decl in
+ ctx->outer instead of ctx.
+
+2021-10-20 Martin Liska <mliska@suse.cz>
+
+ Revert:
+ 2021-10-19 Martin Liska <mliska@suse.cz>
+
+ PR target/102374
+ * config/i386/i386-options.c (ix86_valid_target_attribute_inner_p): Strip whitespaces.
+ * system.h (strip_whilespaces): New function.
+
+2021-10-20 Martin Liska <mliska@suse.cz>
+
+ Revert:
+ 2021-10-19 Martin Liska <mliska@suse.cz>
+
+ PR target/102375
+ * config/aarch64/aarch64.c (aarch64_process_one_target_attr):
+ Strip whitespaces.
+
+2021-10-20 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_case_values_threshold):
+ Change to 8 with -Os, 11 otherwise.
+
+2021-10-20 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * config/aarch64/aarch64.c (neoversev1_tunings):
+ Enable AARCH64_EXTRA_TUNE_CHEAP_SHIFT_EXTEND.
+ (neoversen2_tunings): Likewise.
+
+2021-10-20 Wilco Dijkstra <wdijkstr@arm.com>
+
+ PR target/100966
+ * config/aarch64/aarch64.md (frint_pattern): Update comment.
+ * config/aarch64/aarch64-simd-builtins.def: Change frintn to roundeven.
+ * config/aarch64/arm_fp16.h: Change frintn to roundeven.
+ * config/aarch64/arm_neon.h: Likewise.
+ * config/aarch64/iterators.md (frint_pattern): Use roundeven for FRINTN.
+
+2021-10-20 Martin Liska <mliska@suse.cz>
+
+ * config/arm/arm.c (arm_unwind_emit_sequence): Do not declare
+ already declared global variable.
+ (arm_unwind_emit_set): Use out_file as function argument.
+ (arm_unwind_emit): Likewise.
+ * config/darwin.c (machopic_output_data_section_indirection): Likewise.
+ (machopic_output_stub_indirection): Likewise.
+ (machopic_output_indirection): Likewise.
+ (machopic_finish): Likewise.
+ * config/i386/i386.c (ix86_asm_output_function_label): Likewise.
+ * config/i386/winnt.c (i386_pe_seh_unwind_emit): Likewise.
+ * config/ia64/ia64.c (process_epilogue): Likewise.
+ (process_cfa_adjust_cfa): Likewise.
+ (process_cfa_register): Likewise.
+ (process_cfa_offset): Likewise.
+ (ia64_asm_unwind_emit): Likewise.
+ * config/s390/s390.c (s390_asm_output_function_label): Likewise.
+
+2021-10-20 Andre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com>
+
+ * config/aarch64/aarch64-builtins.c
+ (aarch64_general_gimple_fold_builtin):
+ lower vld1 and vst1 variants of the neon builtins
+ * config/aarch64/aarch64-protos.h:
+ (aarch64_general_gimple_fold_builtin): Add gsi parameter.
+ * config/aarch64/aarch64.c (aarch64_general_gimple_fold_builtin):
+ Likwise.
+
+2021-10-20 Andre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com>
+
+ * match.pd: Generate IFN_TRUNC.
+
+2021-10-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102853
+ * tree-data-ref.c (split_constant_offset_1): Bail out
+ immediately if the expression traps on overflow.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-ssa-threadbackward.c (back_threader::~back_threader): Remove.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-ssa-threadupdate.c (back_jt_path_registry::adjust_paths_after_duplication):
+ Remove superflous debugging message.
+ (back_jt_path_registry::duplicate_thread_path): Same.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-ssa-threadbackward.c (back_threader_registry::back_threader_registry):
+ Remove.
+ (back_threader_registry::register_path): Remove m_threaded_paths.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+
+ PR tree-optimization/102814
+ * doc/invoke.texi: Document --param=max-fsm-thread-length.
+ * params.opt: Add --param=max-fsm-thread-length.
+ * tree-ssa-threadbackward.c
+ (back_threader_profitability::profitable_path_p): Fail on paths
+ longer than max-fsm-thread-length.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR middle-end/102764
+ * cfgexpand.c (expand_gimple_basic_block): Disregard a final debug
+ statement to reset the current location for the outgoing edges.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+ Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-threadupdate.c (cancel_thread): Dump threading reason
+ on the same line as the threading cancellation.
+ (jt_path_registry::cancel_invalid_paths): Avoid rotating loops.
+ Avoid threading through loop headers where the path remains in the
+ loop.
+
+2021-10-20 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * tree-object-size.c (unknown): Make into a function. Adjust
+ all uses.
+ (unknown_object_size): Simplify implementation.
+
+2021-10-20 Hongtao Liu <hongtao.liu@intel.com>
+ Kewen Lin <linkw@linux.ibm.com>
+
+ * doc/sourcebuild.texi (Effective-Target Keywords): Document
+ vect_slp_v2qi_store, vect_slp_v4qi_store, vect_slp_v8qi_store,
+ vect_slp_v16qi_store, vect_slp_v2hi_store,
+ vect_slp_v4hi_store, vect_slp_v2si_store, vect_slp_v4si_store.
+
2021-10-19 Jonathan Wakely <jwakely@redhat.com>
* doc/extend.texi (Basic PowerPC Built-in Functions): Fix typo.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 17461b1..9b3296b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20211020
+20211021
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index c6d856a..13f349c 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,252 @@
+2021-10-20 Bob Duff <duff@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity): Remove unnecessary
+ call to No_Uint_To_0.
+
+2021-10-20 Richard Kenner <kenner@adacore.com>
+
+ * exp_unst.adb (Visit_Node, when N_Subprogram_Call): Never treat
+ instrinsic subprograms as nested.
+
+2021-10-20 Yannick Moy <moy@adacore.com>
+
+ * libgnat/s-widlllu.ads: Mark in SPARK.
+ * libgnat/s-widllu.ads: Likewise.
+ * libgnat/s-widuns.ads: Likewise.
+ * libgnat/s-widthu.adb: Add ghost code and a
+ pseudo-postcondition.
+
+2021-10-20 Yannick Moy <moy@adacore.com>
+
+ * libgnat/a-nbnbin__ghost.adb (Signed_Conversions,
+ Unsigned_Conversions): Mark subprograms as not imported.
+ * libgnat/a-nbnbin__ghost.ads: Provide a dummy body.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_eval.adb (Eval_Type_Conversion): If the target subtype is
+ a static floating-point subtype and the result is a real literal,
+ consider its machine-rounded value to raise Constraint_Error.
+ (Test_In_Range): Turn local variables into constants.
+
+2021-10-20 Doug Rupp <rupp@adacore.com>
+
+ * libgnat/g-io-put__vxworks.adb: Remove (unused)
+ * libgnat/s-parame__ae653.ads: Likewise.
+ * libgnat/s-thread.ads: Likewise.
+ * libgnat/s-thread__ae653.adb: Likewise.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_eval.ads (Machine_Number): New inline function.
+ * sem_eval.adb (Machine_Number): New function body implementing
+ the machine rounding operation specified by RM 4.9(38/2).
+ (Check_Non_Static_Context): Call Machine_Number and set the
+ Is_Machine_Number flag consistently on the resulting node.
+ * sem_attr.adb (Eval_Attribute) <Attribute_Machine>: Likewise.
+ * checks.adb (Apply_Float_Conversion_Check): Call Machine_Number.
+ (Round_Machine): Likewise.
+
+2021-10-20 Johannes Kliemann <kliemann@adacore.com>
+
+ * vxworks7-cert-rtp-link.spec: Add the definition of
+ __wrs_rtp_base.
+
+2021-10-20 Piotr Trojanek <trojanek@adacore.com>
+
+ * sem_aggr.adb (Resolve_Delta_Record_Aggregate): Reject boxes in
+ record delta aggregates.
+
+2021-10-20 Justin Squirek <squirek@adacore.com>
+
+ * sem_ch6.adb (Check_Return_Construct_Accessibility): Modify
+ generation of accessibility checks to be more consolidated and
+ get triggered properly in required cases.
+ * sem_util.adb (Accessibility_Level): Add extra check within
+ condition to handle aliased formals properly in more cases.
+
+2021-10-20 Justin Squirek <squirek@adacore.com>
+
+ * exp_ch7.adb (Make_Final_Call): Detect expanded protected types
+ and use original protected type in order to calculate
+ appropriate finalization routine.
+
+2021-10-20 Johannes Kliemann <kliemann@adacore.com>
+
+ * libgnat/a-nbnbin__ghost.ads: Add ghost package.
+
+2021-10-20 Piotr Trojanek <trojanek@adacore.com>
+
+ * sem_aggr.adb (Variant_Depth): Refine type from Integer to
+ Natural.
+
+2021-10-20 Bob Duff <duff@adacore.com>
+
+ * atree.ads: Comment improvements. How is a "completely new
+ node" different from a "new node"? Document default values
+ corresponding to field types.
+ * exp_ch7.adb (Process_Tagged_Type_Declaration): Use
+ higher-level Scope_Depth instead of Scope_Depth_Value. Remove
+ confusing comment: not clear what a "true" library level package
+ is.
+ * uintp.adb (Image_Out): Print No_Uint in a more readable way.
+ * gen_il-gen.adb, gen_il-gen-gen_entities.adb,
+ gen_il-gen-gen_nodes.adb, gen_il-types.ads: Tighten up the
+ subtypes of fields whose type is Uint, where possible; use
+ more-constrained subtypes such as Unat.
+ * einfo-utils.adb, einfo-utils.ads, exp_attr.adb,
+ exp_ch3.adb, exp_intr.adb, exp_unst.adb, exp_util.adb,
+ freeze.adb, repinfo.adb, sem.adb, sem_ch12.adb, sem_ch13.adb,
+ sem_ch3.adb, sem_ch8.adb, sem_util.adb, sprint.adb, treepr.adb:
+ No longer use Uint_0 to indicate "unknown" or "not yet known"
+ for various fields whose type is Uint. Use No_Uint for that,
+ except in a small number of legacy cases that cause test
+ failures. Protect many queries of such fields with calls to
+ Known_... functions. Improve comments.
+ * exp_aggr.adb: Likewise.
+ (Is_OK_Aggregate): Check whether Csiz is present.
+ (Aggr_Assignment_OK_For_Backend): Ensure we do not access an
+ uninitialized size.
+ * exp_strm.adb (Build_Elementary_Input_Call,
+ Build_Elementary_Write_Call): Check whether P_Size is present.
+ * cstand.adb: Leave Component_Size of Any_Composite unknown.
+ Similar for RM_Size of Standard_Exception_Type. These should
+ not be used.
+ * einfo.ads: Comment improvements.
+ * exp_disp.ads: Minor.
+ * gen_il-internals.ads, gen_il-internals.adb: Minor.
+ * sinfo-utils.adb: Take advantage of full-coverage rules.
+ * types.h: Minor.
+
+2021-10-20 Gary Dismukes <dismukes@adacore.com>
+
+ * sem_ch6.adb: Add with and use of Warnsw.
+ (Check_Conformance): Report a warning when subtypes or
+ designated subtypes of formal parameters or result subtypes
+ denote different declarations between the spec and body of the
+ (Subprogram_Subtypes_Have_Same_Declaration): New function nested
+ within Check_Conformance that determines whether two subtype
+ entities referenced in a subprogram come from the same
+ declaration. Returns True immediately if the subprogram is in a
+ generic instantiation, or the subprogram is marked Is_Internal
+ or is declared in an internal (GNAT library) unit, or GNAT_Mode
+ is enabled, otherwise compares the nonlimited views of the
+ entities (or their designated subtypes' nonlimited views in the
+ anonymous access cases).
+ (Nonlimited_View_Of_Subtype): New function nested within
+ function Subprogram_Subtypes_Have_Same_Declaration that returns
+ Non_Limited_View of a type or subtype that is an incomplete or
+ class-wide type that comes from a limited of a
+ package (From_Limited_With is True for the entity), or returns
+ Full_View when the nonlimited view is an incomplete type.
+ Otherwise returns the entity passed in.
+ * warnsw.ads (Warn_On_Pedantic_Checks): New warning flag.
+ (type Warning_Record): New component Warn_On_Pedantic_Checks.
+ * warnsw.adb (All_Warnings): Set Warn_On_Pedantic_Checks from
+ parameter Setting.
+ (Restore_Warnings): Restore the value of the
+ Warn_On_Pedantic_Checks flag.
+ (Save_Warnings): Save the value of the Warn_On_Pedantic_Checks
+ flag.
+ (Set_Underscore_Warning_Switch): Add settings of the
+ Warn_On_Pedantic flag according to the switch ("-gnatw_p" vs.
+ "-gnatw_P").
+ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Add
+ documentation of new switches -gnatw_p and -gnatw_P (warnings
+ for pedantic checks).
+ * gnat_ugn.texi: Regenerate.
+ * usage.adb: Add Warn_On_Pedantic_Checks.
+
+2021-10-20 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_spark.adb (Expand_SPARK_N_Attribute_Reference): Guard
+ against equality of an uninitialized RM_Size field.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_ch12.adb (Analyze_Subprogram_Instantiation): Also propagate an
+ interface name on an intrinsic subprogram. Remove obsolete comment.
+ * libgnat/s-atopri.ads (Atomic_Load): New generic intrinsic function
+ (Atomic_Load_8): Rewrite into instantiation.
+ (Atomic_Load_16): Likewise.
+ (Atomic_Load_32): Likewise.
+ (Atomic_Load_64): Likewise.
+ (Sync_Compare_And_Swap): New generic intrinsic function.
+ (Sync_Compare_And_Swap_8): Rewrite into instantiation.
+ (Sync_Compare_And_Swap_16): Likewise.
+ (Sync_Compare_And_Swap_32): Likewise.
+ (Sync_Compare_And_Swap_64): Likewise.
+ (Lock_Free_Read): New generic inline function.
+ (Lock_Free_Read_8): Rewrite into instantiation.
+ (Lock_Free_Read_16): Likewise.
+ (Lock_Free_Read_32): Likewise.
+ (Lock_Free_Read_64): Likewise.
+ (Lock_Free_Try_Write): New generic inline function.
+ (Lock_Free_Try_Write_8): Rewrite into instantiation.
+ (Lock_Free_Try_Write_16): Likewise.
+ (Lock_Free_Try_Write_32): Likewise.
+ (Lock_Free_Try_Write_64): Likewise.
+ * libgnat/s-atopri.adb (Lock_Free_Read): New function body.
+ (Lock_Free_Read_8): Delete.
+ (Lock_Free_Read_16): Likewise.
+ (Lock_Free_Read_32): Likewise.
+ (Lock_Free_Read_64): Likewise.
+ (Lock_Free_Try_Write): New function body.
+ (Lock_Free_Try_Write_8): Delete.
+ (Lock_Free_Try_Write_16): Likewise.
+ (Lock_Free_Try_Write_32): Likewise.
+ (Lock_Free_Try_Write_64): Likewise.
+ * libgnat/s-aoinar.adb (Atomic_Fetch_And_Add): Use type-generic GCC
+ atomic builtin and tidy up implementation.
+ (Atomic_Fetch_And_Subtract): Likewise.
+ * libgnat/s-aomoar.adb (Atomic_Fetch_And_Add): Likewise.
+ (Atomic_Fetch_And_Subtract): Likewise.
+ * libgnat/s-atopex.adb (Atomic_Exchange): Likewise.
+ (Atomic_Compare_And_Exchange): Likewise.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>:
+ Replace test on Convention_Intrinsic with Is_Intrinsic_Subprogram.
+ (gnat_to_gnu_param): Likewise.
+ (gnat_to_gnu_subprog_type): Likewise.
+ * gcc-interface/trans.c (elaborate_all_entities_for_package): Ditto.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * sem_eval.ads (Check_Non_Static_Context): Update documentation.
+ * sem_eval.adb (In_Any_Integer_Context): Change parameter type,
+ adjust accordingly and remove unreachable case.
+ (Eval_Integer_Literal): Consider the node kind throughout and
+ trim down verbose condition.
+
+2021-10-20 Doug Rupp <rupp@adacore.com>
+
+ * Makefile.rtl: Remove references to system-vxworks-ppc.ads
+ and system-vxworks-x86.ads.
+ * libgnat/system-vxworks-ppc.ads: Remove.
+ * libgnat/system-vxworks-ppc-ravenscar.ads: Likewise.
+ * libgnat/system-vxworks-x86.ads: Likewise.
+
+2021-10-20 Yannick Moy <moy@adacore.com>
+
+ * sem_ch4.adb (Analyze_QUantified_Expression): Issue warning on
+ conjunct/disjunct sub-expression of the full expression inside a
+ quantified expression, when it does not reference the quantified
+ variable.
+
+2021-10-20 Marc Poulhiès <poulhies@adacore.com>
+
+ * checks.adb (Insert_Valid_Check): in case of checked type
+ conversion, update Typ to match Exp's type and add call to
+ Analyze_And_Resolve.
+
+2021-10-20 Arnaud Charlet <charlet@adacore.com>
+
+ PR ada/100486
+ * sem_prag.adb (Check_Valid_Library_Unit_Pragma): Do not raise an
+ exception as part of the bootstrap.
+
2021-10-15 Richard Biener <rguenther@suse.de>
* gcc-interface/misc.c (gnat_post_options): Do not warn
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 15419f5..08ba25e1 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,21 @@
+2021-10-20 Jason Merrill <jason@redhat.com>
+
+ * parser.c (cp_parser_parse_and_diagnose_invalid_type_name):
+ Pass true for declarator_p.
+ (cp_parser_nested_name_specifier_opt): Only look through
+ TYPENAME_TYPE if check_dependency_p is false.
+
+2021-10-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102642
+ * name-lookup.c (push_local_extern_decl_alias): Don't call
+ set_decl_tls_model on error_mark_node.
+ * decl.c (make_rtl_for_nonlocal_decl): Don't call
+ set_user_assembler_name on error_mark_node.
+ * parser.c (cp_parser_oacc_declare): Ignore DECL_LOCAL_DECL_ALIAS
+ if it is error_mark_node.
+ (cp_parser_omp_declare_target): Likewise.
+
2021-10-19 Jakub Jelinek <jakub@redhat.com>
PR c++/102786
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d80ac05..f75b880 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,13 @@
+2021-10-20 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * openmp.c (gfc_match_omp_clause_reduction): Add 'openmp_target' default
+ false parameter. Add 'always,tofrom' map for OMP_LIST_IN_REDUCTION case.
+ (gfc_match_omp_clauses): Add 'openmp_target' default false parameter,
+ adjust call to gfc_match_omp_clause_reduction.
+ (match_omp): Adjust call to gfc_match_omp_clauses
+ * trans-openmp.c (gfc_trans_omp_taskgroup): Add call to
+ gfc_match_omp_clause, create and return block.
+
2021-10-19 Tobias Burnus <tobias@codesourcery.com>
* trans-types.c (create_fn_spec): For allocatable/pointer
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dc42e4a..602b727 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,163 @@
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * gcc.target/aarch64/mvn-cmeq0-1.c: New test.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * gcc.target/aarch64/narrow_high_combine.c: Update case.
+ * gcc.target/aarch64/xtn-combine-1.c: New test.
+ * gcc.target/aarch64/xtn-combine-2.c: New test.
+ * gcc.target/aarch64/xtn-combine-3.c: New test.
+ * gcc.target/aarch64/xtn-combine-4.c: New test.
+ * gcc.target/aarch64/xtn-combine-5.c: New test.
+ * gcc.target/aarch64/xtn-combine-6.c: New test.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * gcc.target/aarch64/shl-combine-2.c: New test.
+ * gcc.target/aarch64/shl-combine-3.c: New test.
+ * gcc.target/aarch64/shl-combine-4.c: New test.
+ * gcc.target/aarch64/shl-combine-5.c: New test.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * gcc.target/aarch64/shrn-combine-10.c: New test.
+ * gcc.target/aarch64/shrn-combine-5.c: New test.
+ * gcc.target/aarch64/shrn-combine-6.c: New test.
+ * gcc.target/aarch64/shrn-combine-7.c: New test.
+ * gcc.target/aarch64/shrn-combine-8.c: New test.
+ * gcc.target/aarch64/shrn-combine-9.c: New test.
+
+2021-10-20 Tamar Christina <tamar.christina@arm.com>
+
+ * gcc.target/aarch64/shrn-combine-1.c: New test.
+ * gcc.target/aarch64/shrn-combine-2.c: New test.
+ * gcc.target/aarch64/shrn-combine-3.c: New test.
+ * gcc.target/aarch64/shrn-combine-4.c: New test.
+
+2021-10-20 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * gfortran.dg/gomp/reduction4.f90: Adjust omp target in_reduction' scan
+ pattern.
+
+2021-10-20 Martin Liska <mliska@suse.cz>
+
+ Revert:
+ 2021-10-20 Martin Liska <mliska@suse.cz>
+
+ PR target/102374
+ * gcc.target/i386/pr102374.c: New test.
+
+2021-10-20 Martin Liska <mliska@suse.cz>
+
+ Revert:
+ 2021-10-20 Martin Liska <mliska@suse.cz>
+
+ PR target/102375
+ * gcc.target/aarch64/pr102375.c: New test.
+
+2021-10-20 Wilco Dijkstra <wdijkstr@arm.com>
+
+ PR target/100966
+ * gcc.target/aarch64/frint.x: Add roundeven tests.
+ * gcc.target/aarch64/frint_double.c: Likewise.
+ * gcc.target/aarch64/frint_float.c: Likewise.
+
+2021-10-20 Andre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com>
+
+ * gcc.target/aarch64/fmla_intrinsic_1.c: prevent over optimization.
+ * gcc.target/aarch64/fmls_intrinsic_1.c: Likewise.
+ * gcc.target/aarch64/fmul_intrinsic_1.c: Likewise.
+ * gcc.target/aarch64/mla_intrinsic_1.c: Likewise.
+ * gcc.target/aarch64/mls_intrinsic_1.c: Likewise.
+ * gcc.target/aarch64/mul_intrinsic_1.c: Likewise.
+ * gcc.target/aarch64/simd/vmul_elem_1.c: Likewise.
+ * gcc.target/aarch64/vclz.c: Likewise.
+ * gcc.target/aarch64/vneg_s.c: Likewise.
+
+2021-10-20 Andre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com>
+
+ * gcc.target/aarch64/merge_trunc1.c: New test.
+
+2021-10-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.dg/pr102764.c: New test.
+
+2021-10-20 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/102815
+ * gfortran.dg/bind-c-contiguous-5.c (do_call, reset_var): Handle
+ big andian.
+
+2021-10-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102642
+ * g++.dg/tls/pr102642.C: New test.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+ Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/Warray-bounds-87.c: Remove xfail.
+ * gcc.dg/analyzer/pr94851-2.c: Remove xfail.
+ * gcc.dg/graphite/pr69728.c: Remove xfail.
+ * gcc.dg/graphite/scop-dsyr2k.c: Remove xfail.
+ * gcc.dg/graphite/scop-dsyrk.c: Remove xfail.
+ * gcc.dg/shrink-wrap-loop.c: Remove xfail.
+ * gcc.dg/loop-8.c: Adjust for new threading restrictions.
+ * gcc.dg/tree-ssa/ifc-20040816-1.c: Same.
+ * gcc.dg/tree-ssa/pr21559.c: Same.
+ * gcc.dg/tree-ssa/pr59597.c: Same.
+ * gcc.dg/tree-ssa/pr71437.c: Same.
+ * gcc.dg/tree-ssa/pr77445-2.c: Same.
+ * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Same.
+ * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Same.
+ * gcc.dg/vect/bb-slp-16.c: Same.
+ * gcc.dg/tree-ssa/ssa-dom-thread-6.c: Remove.
+ * gcc.dg/tree-ssa/ssa-dom-thread-18.c: Remove.
+ * gcc.dg/tree-ssa/ssa-dom-thread-2a.c: Remove.
+ * gcc.dg/tree-ssa/ssa-thread-invalid.c: New test.
+
+2021-10-20 Jeff Law <jeffreyalaw@gmail.com>
+
+ * gcc.dg/plugin/gil-1.c: Add dg-require-effective-target marker.
+
+2021-10-20 Hongtao Liu <hongtao.liu@intel.com>
+ Kewen Lin <linkw@linux.ibm.com>
+
+ PR middle-end/102722
+ PR middle-end/102697
+ PR middle-end/102462
+ PR middle-end/102706
+ PR middle-end/102744
+ * c-c++-common/Wstringop-overflow-2.c: Adjust testcase with new
+ xfail/target selector.
+ * gcc.dg/Warray-bounds-51.c: Ditto.
+ * gcc.dg/Warray-parameter-3.c: Ditto.
+ * gcc.dg/Wstringop-overflow-14.c: Ditto.
+ * gcc.dg/Wstringop-overflow-21.c: Ditto.
+ * gcc.dg/Wstringop-overflow-68.c: Ditto.
+ * gcc.dg/Wstringop-overflow-76.c: Ditto.
+ * gcc.dg/Warray-bounds-48.c: Ditto.
+ * gcc.dg/Wzero-length-array-bounds-2.c: Ditto.
+ * lib/target-supports.exp (check_vect_slp_aligned_store_usage):
+ New function.
+ (check_effective_target_vect_slp_v2qi_store): Ditto.
+ (check_effective_target_vect_slp_v4qi_store): Ditto.
+ (check_effective_target_vect_slp_v8qi_store): Ditto.
+ (check_effective_target_vect_slp_v16qi_store): Ditto.
+ (check_effective_target_vect_slp_v2hi_store): Ditto.
+ (check_effective_target_vect_slp_v4hi_store): Ditto.
+ (check_effective_target_vect_slp_v2si_store): Ditto.
+ (check_effective_target_vect_slp_v4si_store): Ditto.
+ * c-c++-common/Wstringop-overflow-2-novec.c: New test.
+ * gcc.dg/Warray-bounds-51-novec.c: New test.
+ * gcc.dg/Warray-bounds-48-novec.c: New test.
+ * gcc.dg/Warray-parameter-3-novec.c: New test.
+ * gcc.dg/Wstringop-overflow-14-novec.c: New test.
+ * gcc.dg/Wstringop-overflow-21-novec.c: New test.
+ * gcc.dg/Wstringop-overflow-76-novec.c: New test.
+ * gcc.dg/Wzero-length-array-bounds-2-novec.c: New test.
+
2021-10-19 Paul A. Clarke <pc@us.ibm.com>
* gcc.target/powerpc/sse4_2-pcmpgtq.c: Tighten dg constraints
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 1048153..e8fe0e0 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,88 @@
+2021-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ * LOCAL_PATCHES: New file.
+
+2021-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ * testsuite/lib/libffi.exp (load_gcc_lib): Load library from GCC
+ testsuite.
+ Load target-supports.exp and target-supports-dg.exp.
+ (libffi-init): Use libraries in GCC build tree.
+ (libffi_target_compile): Link with -shared-libgcc -lstdc++ for
+ C++ sources.
+
+2021-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ * Makefile.am (AUTOMAKE_OPTIONS): Add info-in-builddir.
+ (ACLOCAL_AMFLAGS): Set to -I .. -I ../config.
+ (SUBDIRS): Don't add doc.
+ (TEXINFO_TEX): New.
+ (MAKEINFOFLAGS): Likewise.
+ (info_TEXINFOS): Likewise.
+ (STAMP_GENINSRC): Likewise.
+ (STAMP_BUILD_INFO): Likewise.
+ (all-local): Likewise.
+ (stamp-geninsrc): Likewise.
+ (doc/libffi.info): Likewise.
+ (stamp-build-info:): Likewise.
+ (CLEANFILES): Likewise.
+ (MAINTAINERCLEANFILES): Likewise.
+ (AM_MAKEFLAGS): Likewise.
+ (all-recursive): Likewise.
+ (install-recursive): Likewise.
+ (mostlyclean-recursive): Likewise.
+ (clean-recursive): Likewise.
+ (distclean-recursive): Likewise.
+ (maintainer-clean-recursive): Likewise.
+ (LTLDFLAGS): Replace libtool-ldflags with ../libtool-ldflags.
+ (AM_CFLAGS): Add -g -fexceptions.
+ (libffi.map-sun): Replace make_sunver.pl with
+ ../contrib/make_sunver.pl.
+ (dist-hook): Removed.
+ Include $(top_srcdir)/../multilib.am.
+ * configure.ac: Add AM_ENABLE_MULTILIB.
+ Remove the frv*-elf check.
+ (AX_ENABLE_BUILDDIR): Removed.
+ (AM_INIT_AUTOMAKE): Add [no-dist].
+ Add --enable-generated-files-in-srcdir.
+ (C_CONFIG_MACRO_DIR): Removed.
+ (AX_COMPILER_VENDOR): Likewise.
+ (AX_CC_MAXOPT): Likewise.
+ (AX_CFLAGS_WARN_ALL): Likewise.
+ Remove the GCC check.
+ (SYMBOL_UNDERSCORE): Removed.
+ (AX_CHECK_COMPILE_FLAG): Likewise.
+ Remove --disable-docs.
+ (ACX_CHECK_PROG_VER): Check makeinfo.
+ (BUILD_DOCS): Updated.
+ (exec-static-tramp): Don't enable use of static exec trampolines
+ by default.
+ Remove --disable-multi-os-directory.
+ (GCC_WITH_TOOLEXECLIBDIR): New.
+ Support cross host.
+ Support --enable-multilib.
+ * include/Makefile.am (nodist_include_HEADERS): Removed.
+ (gcc_version): New.
+ (toollibffidir): Likewise.
+ (toollibffi_HEADERS): Likewise.
+ * Makefile.in: Regenerate.
+ (GCC_BASE_VER): New.
+ (AC_CONFIG_FILES): Remove doc/Makefile.
+ (AC_CONFIG_LINKS): New.
+ * aclocal.m4: Likewise.
+ * configure: Likewise.
+ * fficonfig.h.in: Likewise.
+ * mdate-sh: Likewise.
+ * include/Makefile.in: Likewise.
+ * man/Makefile.in: Likewise.
+ * testsuite/Makefile.in: Likewise.
+
+2021-10-20 H.J. Lu <hjl.tools@gmail.com>
+
+ * HOWTO_MERGE: New file.
+ * autogen.sh: Likewise.
+ * merge.sh: Likewise.
+
2021-08-30 YunQiang Su <yunqiang.su@cipunited.com>
PR libffi/83636
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 8a616fd..50d14b3 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,26 @@
+2021-10-20 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * testsuite/libgomp.fortran/target-in-reduction-1.f90: New test.
+ * testsuite/libgomp.fortran/target-in-reduction-2.f90: New test.
+
+2021-10-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/102838
+ * libgomp.h (struct gomp_work_share_1st_cacheline): New type.
+ (struct gomp_work_share): Only use aligned(64) attribute if
+ GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC is defined, otherwise just
+ add padding before lock to ensure lock is at offset 64 bytes
+ into the structure.
+ (gomp_workshare_struct_check1, gomp_workshare_struct_check2):
+ New poor man's static assertions.
+ * work.c (gomp_work_share_start): Use gomp_aligned_alloc instead of
+ gomp_malloc if GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC.
+
+2021-10-20 Aldy Hernandez <aldyh@redhat.com>
+ Richard Biener <rguenther@suse.de>
+
+ * testsuite/libgomp.graphite/force-parallel-5.c: Remove xfail.
+
2021-10-18 Jakub Jelinek <jakub@redhat.com>
* config/linux/affinity.c (gomp_affinity_init_numa_domains): Add
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 92cb6d0..3aa8a53 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2021-10-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/20_util/optional/monadic/transform.cc: Check that
+ an rvalue result is not materialized too soon.
+
2021-10-19 Patrick Palka <ppalka@redhat.com>
* include/std/ranges (iota_view::_Iterator::operator+): Adjust