aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-12-15 00:16:28 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-12-15 00:16:28 +0000
commit9c6586bc20ba49d6f42b889936cee0f7563a0966 (patch)
treeb5569c3e08ae9035fc7d96b0d9cac0f16a06289e
parenta2a0c91b47537b16908981e206f4e42db8425eca (diff)
downloadgcc-9c6586bc20ba49d6f42b889936cee0f7563a0966.zip
gcc-9c6586bc20ba49d6f42b889936cee0f7563a0966.tar.gz
gcc-9c6586bc20ba49d6f42b889936cee0f7563a0966.tar.bz2
Daily bump.
-rw-r--r--ChangeLog4
-rw-r--r--gcc/ChangeLog344
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog54
-rw-r--r--gcc/fortran/ChangeLog21
-rw-r--r--gcc/jit/ChangeLog37
-rw-r--r--gcc/testsuite/ChangeLog111
-rw-r--r--libgfortran/ChangeLog7
-rw-r--r--libstdc++-v3/ChangeLog51
10 files changed, 636 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2232f41..0a48a1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-12-14 Marc Poulhiès <poulhies@adacore.com>
+
+ * MAINTAINERS: Add myself to write after approval.
+
2021-12-06 Navid Rahimi <navidrahimi@microsoft.com>
* MAINTAINERS: Adding myself.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 029d491..ca2c5ae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,347 @@
+2021-12-14 liuhongt <hongtao.liu@intel.com>
+
+ PR target/103682
+ * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Check
+ is_gimple_assign before gimple_assign_rhs_code.
+
+2021-12-14 Sören Tempel <soeren@soeren-tempel.net>
+
+ * ginclude/stddef.h (__DEFINED_ptrdiff_t): Add support for musl
+ libc typedef macro guard.
+ (__DEFINED_size_t): Ditto.
+ (__DEFINED_wchar_t): Ditto.
+
+2021-12-14 JoJo R <rjiejie@linux.alibaba.com>
+
+ * regrename.c (find_rename_reg): Return satisfied regno
+ if instruction is noop move.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin): Rename
+ rs6000_builtin_decls_x to rs6000_builtin_decls.
+ (altivec_resolve_overloaded_builtin): Likewise. Also rename
+ rs6000_builtin_info_x to rs6000_builtin_info.
+ * config/rs6000/rs6000-call.c (rs6000_invalid_builtin): Rename
+ rs6000_builtin_info_x to rs6000_builtin_info.
+ (rs6000_builtin_is_supported): Likewise.
+ (rs6000_gimple_fold_mma_builtin): Likewise. Also rename
+ rs6000_builtin_decls_x to rs6000_builtin_decls.
+ (rs6000_gimple_fold_builtin): Rename rs6000_builtin_info_x to
+ rs6000_builtin_info.
+ (cpu_expand_builtin): Likewise.
+ (rs6000_expand_builtin): Likewise.
+ (rs6000_init_builtins): Likewise. Also rename rs6000_builtin_decls_x
+ to rs6000_builtin_decls.
+ (rs6000_builtin_decl): Rename rs6000_builtin_decls_x to
+ rs6000_builtin_decls.
+ * config/rs6000/rs6000-gen-builtins.c (write_decls): In generated code,
+ rename rs6000_builtin_decls_x to rs6000_builtin_decls, and rename
+ rs6000_builtin_info_x to rs6000_builtin_info.
+ (write_bif_static_init): In generated code, rename
+ rs6000_builtin_info_x to rs6000_builtin_info.
+ (write_init_bif_table): In generated code, rename
+ rs6000_builtin_decls_x to rs6000_builtin_decls, and rename
+ rs6000_builtin_info_x to rs6000_builtin_info.
+ (write_init_ovld_table): In generated code, rename
+ rs6000_builtin_decls_x to rs6000_builtin_decls.
+ (write_init_file): Likewise.
+ * config/rs6000/rs6000.c (rs6000_builtin_vectorized_function):
+ Likewise.
+ (rs6000_builtin_md_vectorized_function): Likewise.
+ (rs6000_builtin_reciprocal): Likewise.
+ (add_condition_to_bb): Likewise.
+ (rs6000_atomic_assign_expand_fenv): Likewise.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-c.c (altivec_resolve_new_overloaded_builtin):
+ Remove forward declaration.
+ (rs6000_new_builtin_type_compatible): Rename to
+ rs6000_builtin_type_compatible.
+ (rs6000_builtin_type_compatible): Remove.
+ (altivec_resolve_overloaded_builtin): Remove.
+ (altivec_build_new_resolved_builtin): Rename to
+ altivec_build_resolved_builtin.
+ (altivec_resolve_new_overloaded_builtin): Rename to
+ altivec_resolve_overloaded_builtin. Remove static keyword. Adjust
+ called function names.
+ * config/rs6000/rs6000-call.c (rs6000_expand_new_builtin): Remove
+ forward declaration.
+ (rs6000_gimple_fold_new_builtin): Likewise.
+ (rs6000_invalid_new_builtin): Rename to rs6000_invalid_builtin.
+ (rs6000_gimple_fold_builtin): Remove.
+ (rs6000_new_builtin_valid_without_lhs): Rename to
+ rs6000_builtin_valid_without_lhs.
+ (rs6000_new_builtin_is_supported): Rename to
+ rs6000_builtin_is_supported.
+ (rs6000_gimple_fold_new_mma_builtin): Rename to
+ rs6000_gimple_fold_mma_builtin.
+ (rs6000_gimple_fold_new_builtin): Rename to
+ rs6000_gimple_fold_builtin. Remove static keyword. Adjust called
+ function names.
+ (rs6000_expand_builtin): Remove.
+ (new_cpu_expand_builtin): Rename to cpu_expand_builtin.
+ (new_mma_expand_builtin): Rename to mma_expand_builtin.
+ (new_htm_spr_num): Rename to htm_spr_num.
+ (new_htm_expand_builtin): Rename to htm_expand_builtin. Change name
+ of called function.
+ (rs6000_expand_new_builtin): Rename to rs6000_expand_builtin. Remove
+ static keyword. Adjust called function names.
+ (rs6000_new_builtin_decl): Rename to rs6000_builtin_decl. Remove
+ static keyword.
+ (rs6000_builtin_decl): Remove.
+ * config/rs6000/rs6000-gen-builtins.c (write_decls): In gnerated code,
+ rename rs6000_new_builtin_is_supported to rs6000_builtin_is_supported.
+ * config/rs6000/rs6000-internal.h (rs6000_invalid_new_builtin): Rename
+ to rs6000_invalid_builtin.
+ * config/rs6000/rs6000.c (rs6000_new_builtin_vectorized_function):
+ Rename to rs6000_builtin_vectorized_function.
+ (rs6000_new_builtin_md_vectorized_function): Rename to
+ rs6000_builtin_md_vectorized_function.
+ (rs6000_builtin_vectorized_function): Remove.
+ (rs6000_builtin_md_vectorized_function): Remove.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-builtin.def: Delete.
+ * config/rs6000/rs6000-call.c (builtin_compatibility): Delete.
+ (builtin_description): Delete.
+ (builtin_hash_struct): Delete.
+ (builtin_hasher): Delete.
+ (builtin_hash_table): Delete.
+ (builtin_hasher::hash): Delete.
+ (builtin_hasher::equal): Delete.
+ (rs6000_builtin_info_type): Delete.
+ (rs6000_builtin_info): Delete.
+ (bdesc_compat): Delete.
+ (bdesc_3arg): Delete.
+ (bdesc_4arg): Delete.
+ (bdesc_dst): Delete.
+ (bdesc_2arg): Delete.
+ (bdesc_altivec_preds): Delete.
+ (bdesc_abs): Delete.
+ (bdesc_1arg): Delete.
+ (bdesc_0arg): Delete.
+ (bdesc_htm): Delete.
+ (bdesc_mma): Delete.
+ (rs6000_overloaded_builtin_p): Delete.
+ (rs6000_overloaded_builtin_name): Delete.
+ (htm_spr_num): Delete.
+ (rs6000_builtin_is_supported_p): Delete.
+ (rs6000_gimple_fold_mma_builtin): Delete.
+ (gt-rs6000-call.h): Remove include directive.
+ * config/rs6000/rs6000-protos.h (rs6000_overloaded_builtin_p): Delete.
+ (rs6000_builtin_is_supported_p): Delete.
+ (rs6000_overloaded_builtin_name): Delete.
+ * config/rs6000/rs6000.c (rs6000_builtin_decls): Delete.
+ (rs6000_debug_reg_global): Remove reference to RS6000_BUILTIN_COUNT.
+ * config/rs6000/rs6000.h (rs6000_builtins): Delete.
+ (altivec_builtin_types): Delete.
+ (rs6000_builtin_decls): Delete.
+ * config/rs6000/t-rs6000 (TM_H): Don't add rs6000-builtin.def.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-builtin-new.def: Rename to...
+ * config/rs6000/rs6000-builtins.def: ...this.
+ * config/rs6000/rs6000-gen-builtins.c: Adjust header commentary.
+ * config/rs6000/t-rs6000 (EXTRA_GTYPE_DEPS): Rename
+ rs6000-builtin-new.def to rs6000-builtins.def.
+ (rs6000-builtins.c): Likewise.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-call.c (altivec_overloaded_builtins): Remove.
+ * config/rs6000/rs6000.h (altivec_overloaded_builtins): Remove.
+
+2021-12-14 Peter Bergner <bergner@linux.ibm.com>
+
+ PR target/103548
+ * config/rs6000/mma.md (UNSPEC_MMA_ASSEMBLE): Rename unspec from this...
+ (UNSPEC_VSX_ASSEMBLE): ...to this.
+ (UNSPECV_MMA_ASSEMBLE): New unspecv.
+ (vsx_assemble_pair): Use UNSPEC_VSX_ASSEMBLE.
+ (*vsx_assemble_pair): Likewise.
+ (mma_assemble_acc): Use UNSPECV_MMA_ASSEMBLE.
+ (*mma_assemble_acc): Likewise.
+ * config/rs6000/rs6000.c (rs6000_split_multireg_move): Handle
+ UNSPEC_VOLATILE. Use UNSPEC_VSX_ASSEMBLE and UNSPECV_MMA_ASSEMBLE.
+
+2021-12-14 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/103571
+ * config/i386/i386-expand.c (ix86_expand_vector_init_duplicate)
+ <case E_V8HFmode>: Implement for TARGET_SSE2.
+ <case E_V16HFmode>: Implement for TARGET_AVX.
+ <case E_V32HFmode>: Implement for TARGET_AVX512F.
+ (ix86_expand_vector_set_var): Handle V32HFmode
+ without TARGET_AVX512BW.
+ (ix86_expand_vector_extract)
+ <case E_V8HFmode>: Implement for TARGET_SSE2.
+ <case E_V16HFmode>: Implement for TARGET_AVX.
+ <case E_V32HFmode>: Implement for TARGET_AVX512BW.
+ (expand_vec_perm_broadcast_1) <case E_V8HFmode>: New.
+ * config/i386/sse.md (VI12HF_AVX512VL): Remove
+ TARGET_AVX512FP16 condition.
+ (V): Ditto.
+ (V_256_512): Ditto.
+ (avx_vbroadcastf128_<mode>): Use V_256H mode iterator.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Remove
+ test for new_builtins_are_live and simplify.
+ * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin): Remove
+ dead function.
+ (altivec_resolve_overloaded_builtin): Remove test for
+ new_builtins_are_live and simplify.
+ * config/rs6000/rs6000-call.c (altivec_init_builtins): Remove forward
+ declaration.
+ (builtin_function_type): Likewise.
+ (rs6000_common_init_builtins): Likewise.
+ (htm_init_builtins): Likewise.
+ (mma_init_builtins): Likewise.
+ (def_builtin): Remove dead function.
+ (rs6000_expand_zeroop_builtin): Likewise.
+ (rs6000_expand_mtfsf_builtin): Likewise.
+ (rs6000_expand_mtfsb_builtin): Likewise.
+ (rs6000_expand_set_fpscr_rn_builtin): Likewise.
+ (rs6000_expand_set_fpscr_drn_builtin): Likewise.
+ (rs6000_expand_unop_builtin): Likewise.
+ (altivec_expand_abs_builtin): Likewise.
+ (rs6000_expand_binop_builtin): Likewise.
+ (altivec_expand_lxvr_builtin): Likewise.
+ (altivec_expand_lv_builtin): Likewise.
+ (altivec_expand_stxvl_builtin): Likewise.
+ (altivec_expand_stv_builtin): Likewise.
+ (mma_expand_builtin): Likewise.
+ (htm_expand_builtin): Likewise.
+ (cpu_expand_builtin): Likewise.
+ (rs6000_expand_quaternop_builtin): Likewise.
+ (rs6000_expand_ternop_builtin): Likewise.
+ (altivec_expand_dst_builtin): Likewise.
+ (altivec_expand_vec_sel_builtin): Likewise.
+ (altivec_expand_builtin): Likewise.
+ (rs6000_invalid_builtin): Likewise.
+ (rs6000_builtin_valid_without_lhs): Likewise.
+ (rs6000_gimple_fold_builtin): Remove test for new_builtins_are_live and
+ simplify.
+ (rs6000_expand_builtin): Likewise.
+ (rs6000_init_builtins): Remove tests for new_builtins_are_live and
+ simplify.
+ (rs6000_builtin_decl): Likewise.
+ (altivec_init_builtins): Remove dead function.
+ (mma_init_builtins): Likewise.
+ (htm_init_builtins): Likewise.
+ (builtin_quaternary_function_type): Likewise.
+ (builtin_function_type): Likewise.
+ (rs6000_common_init_builtins): Likewise.
+ * config/rs6000/rs6000-gen-builtins.c (write_header_file): Don't
+ declare new_builtins_are_live.
+ (write_init_bif_table): In generated code, remove test for
+ new_builtins_are_live and simplify.
+ (write_init_ovld_table): Likewise.
+ (write_init_file): Don't initialize new_builtins_are_live.
+ * config/rs6000/rs6000.c (rs6000_builtin_vectorized_function): Remove
+ test for new_builtins_are_live and simplify.
+ (rs6000_builtin_md_vectorized_function): Likewise.
+ (rs6000_builtin_reciprocal): Likewise.
+ (add_condition_to_bb): Likewise.
+ (rs6000_atomic_assign_expand_fenv): Likewise.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ PR target/103625
+ * config/rs6000/rs6000-builtin-new.def (__builtin_altivec_vcmpequd):
+ Move to power8-vector stanza.
+ (__builtin_altivec_vcmpequd_p): Likewise.
+ (__builtin_altivec_vcmpgtsd): Likewise.
+ (__builtin_altivec_vcmpgtsd_p): Likewise.
+ (__builtin_altivec_vcmpgtud): Likewise.
+ (__builtin_altivec_vcmpgtud_p): Likewise.
+
+2021-12-14 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ PR target/103623
+ * config/rs6000/rs6000-builtin-new.def (__builtin_pack_longdouble): Add
+ ibmld attribute.
+ (__builtin_unpack_longdouble): Likewise.
+ * config/rs6000/rs6000-call.c (rs6000_expand_new_builtin): Add special
+ handling for ibmld attribute.
+ * config/rs6000/rs6000-gen-builtins.c (attrinfo): Add isibmld.
+ (parse_bif_attrs): Handle ibmld.
+ (write_decls): Likewise.
+ (write_bif_static_init): Likewise.
+
+2021-12-14 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/103585
+ * ipa-modref-tree.c (modref_access_node::range_info_useful_p): Handle
+ MODREF_GLOBAL_MEMORY_PARM.
+ (modref_access_node::dump): Likewise.
+ (modref_access_node::get_call_arg): Likewise.
+ * ipa-modref-tree.h (enum modref_special_parms): Add
+ MODREF_GLOBAL_MEMORY_PARM.
+ (modref_access_node::useful_for_kill): Handle
+ MODREF_GLOBAL_MEMORY_PARM.
+ (modref:tree::merge): Add promote_unknown_to_global.
+ * ipa-modref.c (verify_arg):New function.
+ (may_access_nonescaping_parm_p): New function.
+ (modref_access_analysis::record_global_memory_load): New member
+ function.
+ (modref_access_analysis::record_global_memory_store): Likewise.
+ (modref_access_analysis::process_fnspec): Distingush global and local
+ memory.
+ (modref_access_analysis::analyze_call): Likewise.
+ * tree-ssa-alias.c (ref_may_access_global_memory_p): New function.
+ (modref_may_conflict): Use it.
+
+2021-12-14 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ * config/aarch64/aarch64-builtins.c (enum aarch64_builtins):
+ Define AARCH64_LS64_BUILTIN_LD64B, AARCH64_LS64_BUILTIN_ST64B,
+ AARCH64_LS64_BUILTIN_ST64BV, AARCH64_LS64_BUILTIN_ST64BV0.
+ (aarch64_init_ls64_builtin_decl): Helper function.
+ (aarch64_init_ls64_builtins): Helper function.
+ (aarch64_init_ls64_builtins_types): Helper function.
+ (aarch64_general_init_builtins): Init LS64 intrisics for
+ TARGET_LS64.
+ (aarch64_expand_builtin_ls64): LS64 intrinsics expander.
+ (aarch64_general_expand_builtin): Handle aarch64_expand_builtin_ls64.
+ (ls64_builtins_data): New helper struct.
+ (v8di_UP): New define.
+ * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define
+ __ARM_FEATURE_LS64.
+ * config/aarch64/aarch64.c (aarch64_classify_address): Enforce the
+ V8DI range (7-bit signed scaled) for both ends of the range.
+ * config/aarch64/aarch64-simd.md (movv8di): New pattern.
+ (aarch64_movv8di): New pattern.
+ * config/aarch64/aarch64.h (AARCH64_ISA_LS64): New define.
+ (TARGET_LS64): New define.
+ * config/aarch64/aarch64.md: Add UNSPEC_LD64B, UNSPEC_ST64B,
+ UNSPEC_ST64BV and UNSPEC_ST64BV0.
+ (ld64b): New define_insn.
+ (st64b): New define_insn.
+ (st64bv): New define_insn.
+ (st64bv0): New define_insn.
+ * config/aarch64/arm_acle.h (data512_t): New type derived from
+ __arm_data512_t.
+ (__arm_data512_t): New internal type.
+ (__arm_ld64b): New intrinsic.
+ (__arm_st64b): New intrinsic.
+ (__arm_st64bv): New intrinsic.
+ (__arm_st64bv0): New intrinsic.
+ * config/arm/types.md: Add new type ls64.
+
+2021-12-14 Olivier Hainque <hainque@adacore.com>
+
+ * config/i386/t-vxworks: Drop the fPIC multilibs.
+
+2021-12-14 Fred Konrad <konrad@adacore.com>
+
+ * config/rs6000/t-vxworks: Drop the fPIC multilib.
+
2021-12-13 Vladimir N. Makarov <vmakarov@redhat.com>
PR target/99531
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index e502600..c11bfa6 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20211214
+20211215
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 90c0640..e9c054d 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/103587
+ * c-parser.c (c_parser_balanced_token_sequence): For CPP_PRAGMA,
+ consume the pragma and silently skip to the pragma eol.
+
2021-12-12 Jonathan Wakely <jwakely@redhat.com>
* c-decl.c: Define INCLUDE_MEMORY instead of INCLUDE_UNIQUE_PTR.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0cdb2e1..c72be7d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,57 @@
+2021-12-14 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/103408
+ * constraint.cc (type_deducible_p): Remove workaround for
+ non-templated requires-expressions.
+ (normalize_placeholder_type_constraints): Likewise.
+ * cp-tree.h (current_template_depth): Define.
+ (PROCESSING_REAL_TEMPLATE_DECL): Inspect current_template_depth
+ instead of the magnitude of processing_template_decl.
+ * decl.c (start_decl): Likewise.
+ (grokfndecl): Likewise.
+ (grokvardecl): Likewise.
+ (grokdeclarator): Likewise.
+ * friend.c (make_friend_class): Likewise. Calculate
+ friend_depth differently when called at instantiation time
+ instead of parse time.
+ (do_friend): Likewise.
+ * parser.c (cp_parser_requires_clause_expression): Remove
+ workaround for lambdas inside constraints.
+ (cp_parser_constraint_expression): Likewise.
+ (cp_parser_requires_expression): Likewise.
+ (synthesize_implicit_template_parm): Add to current_template_parms
+ before calling process_template_parm.
+ * pt.c (inline_needs_template_parms): Inspect
+ current_template_depth instead of the magnitude of
+ processing_template_decl.
+ (push_inline_template_parms_recursive): Likewise.
+ (maybe_begin_member_template_processing): Likewise.
+ (begin_template_parm_list): Likewise.
+ (process_template_parm): Likewise.
+ (end_template_parm_list): Likewise.
+ (push_template_decl): Likewise.
+ (add_inherited_template_parms): Likewise.
+ (instantiate_class_template_1): Don't adjust
+ processing_template_decl around the call to make_friend_class.
+ adjust_processing_template_decl to adjust_template_depth. Set
+ current_template_parms instead of processing_template_decl when
+ adjust_template_depth.
+ (make_auto_1): Inspect current_template_depth instead of the
+ magnitude of processing_template_decl.
+ (splice_late_return_type): Likewise.
+ * semantics.c (fixup_template_type): Likewise.
+
+2021-12-14 Patrick Palka <ppalka@redhat.com>
+
+ * call.c (build_new_op): Use releasing_vec for arglist. Declare
+ conv in the scope it's used.
+
+2021-12-14 Patrick Palka <ppalka@redhat.com>
+
+ * cp-tree.h (COMPOUND_EXPR_OVERLOADED): Remove.
+ * pt.c (build_non_dependent_expr): Don't inspect the flag.
+ * tree.c (build_min_non_dep): Don't set the flag.
+
2021-12-12 Jonathan Wakely <jwakely@redhat.com>
* error.c: Define INCLUDE_MEMORY instead of
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index fc7bea1..264fa1b 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,24 @@
+2021-12-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103717
+ * frontend-passes.c (doloop_code): Prevent NULL pointer
+ dereference when checking for passing a do-loop variable to a
+ contained procedure with an interface mismatch.
+
+2021-12-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103718
+ PR fortran/103719
+ * frontend-passes.c (doloop_contained_procedure_code): Add several
+ checks to prevent NULL pointer dereferences on valid and invalid
+ code called within do-loops.
+
+2021-12-14 Manfred Schwarb <manfred99@gmx.ch>
+
+ PR fortran/91497
+ * simplify.c (simplify_min_max): Disable conversion warnings for
+ MIN1 and MAX1.
+
2021-12-13 Tobias Burnus <tobias@codesourcery.com>
PR fortran/103576
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index ab06d51..0b44fc1 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,40 @@
+2021-12-14 Petter Tomner <tomner@kth.se>
+
+ * jit-common.h: New enum
+ * jit-playback.c : Folding an setting intitial
+ (global_new_decl) : Handle const global generation
+ (new_global) : New flag
+ (global_set_init_rvalue) : New
+ (new_ctor) : New
+ (new_global_initialized) : Flag
+ (as_truth_value) : Fold
+ (new_unary_op) : Fold
+ (new_binary_op) : Fold
+ (new_comparison) : Fold
+ (new_array_access) : Fold
+ (new_dereference) : Fold
+ (get_address) : Fold
+ * jit-playback.h :
+ (global_set_init_rvalue) : New
+ (new_ctor) : New
+ * jit-recording.c :
+ * jit-recording.h :
+ (new_global_init_rvalue) : New
+ (new_ctor) : New
+ (ctor) : New, inherits rvalue
+ (global_init_rvalue) : New, inherits memento
+ (type::is_union) : New
+ * libgccjit++.h : New entrypoints, see C-header
+ * libgccjit.c : See .h
+ * libgccjit.h : New entrypoints
+ (gcc_jit_context_new_array_constructor) : New
+ (gcc_jit_context_new_struct_constructor) : New
+ (gcc_jit_context_new_union_constructor) : New
+ (gcc_jit_global_set_initializer_rvalue) : New
+ (LIBGCCJIT_HAVE_CTORS) : New feuture macro
+ * libgccjit.map : New entrypoints added to ABI 19
+ * docs/topics/expressions.rst : Updated docs
+
2021-12-12 Antoni Boucher <bouanto@zoho.com>
PR target/100688
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1a61c86..3dffea8 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,114 @@
+2021-12-14 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.c-torture/compile/pr103682.c: New test.
+
+2021-12-14 Peter Bergner <bergner@linux.ibm.com>
+
+ PR target/103548
+ * gcc.target/powerpc/mma-builtin-10-pair.c: New test.
+ * gcc.target/powerpc/mma-builtin-10-quad.c: New test.
+
+2021-12-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103717
+ * gfortran.dg/do_check_19.f90: New test.
+
+2021-12-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103718
+ PR fortran/103719
+ * gfortran.dg/do_check_18.f90: New test.
+
+2021-12-14 Petter Tomner <tomner@kth.se>
+
+ * jit.dg/all-non-failing-tests.h: Added two tests
+ * jit.dg/test-error-ctor-array-wrong-obj.c: New
+ * jit.dg/test-error-ctor-struct-too-big.c: New
+ * jit.dg/test-error-ctor-struct-wrong-field-obj.c: New
+ * jit.dg/test-error-ctor-struct-wrong-type.c: New
+ * jit.dg/test-error-ctor-struct-wrong-type2.c
+ * jit.dg/test-error-ctor-union-wrong-field-name.c: New
+ * jit.dg/test-error-global-already-init.c: New
+ * jit.dg/test-error-global-common-section.c: New
+ * jit.dg/test-error-global-init-too-small-array.c: New
+ * jit.dg/test-error-global-lvalue-init.c: New
+ * jit.dg/test-error-global-nonconst-init.c: New
+ * jit.dg/test-global-init-rvalue.c: New
+ * jit.dg/test-local-init-rvalue.c: New
+
+2021-12-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR libfortran/103634
+ * gfortran.dg/intrinsic_pack_6.f90: New test.
+
+2021-12-14 Jan Hubicka <hubicka@ucw.cz>
+
+ * gcc.dg/analyzer/data-model-1.c: Disable ipa-modref.
+ * gcc.dg/uninit-38.c: Likewise.
+ * gcc.dg/uninit-pr98578.c: Liewise.
+
+2021-12-14 Manfred Schwarb <manfred99@gmx.ch>
+
+ PR fortran/91497
+ * gfortran.dg/pr91497.f90: Adjust test to use
+ dg-require-effective-target directive.
+ * gfortran.dg/pr91497_2.f90: New test to cover all targets.
+ Cover MAX1 and MIN1 intrinsics.
+
+2021-12-14 Vladimir N. Makarov <vmakarov@redhat.com>
+
+ PR target/99531
+ * gcc.target/i386/pr99531.c: Do not scan for ia32.
+
+2021-12-14 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ * gcc.target/aarch64/acle/ls64_asm.c: New test.
+ * gcc.target/aarch64/acle/ls64_ld64b.c: New test.
+ * gcc.target/aarch64/acle/ls64_ld64b-2.c: New test.
+ * gcc.target/aarch64/acle/ls64_ld64b-3.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64b.c: New test.
+ * gcc.target/aarch64/acle/ls64_ld_st_o0.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64b-2.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64bv.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64bv-2.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64bv-3.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64bv0.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64bv0-2.c: New test.
+ * gcc.target/aarch64/acle/ls64_st64bv0-3.c: New test.
+ * gcc.target/aarch64/pragma_cpp_predefs_2.c: Add checks
+ for __ARM_FEATURE_LS64.
+
+2021-12-14 Martin Liska <mliska@suse.cz>
+
+ * gcc.target/i386/avx2-psraq-1.c: Use ARRAY_SIZE.
+ * gcc.target/i386/m128-check.h: Move it to the top-level
+ context.
+ * gcc.target/i386/sse2-psraq-1.c: Use ARRAY_SIZE.
+ * gcc.target/i386/sse4_2-check.h: Include the header with
+ ARRAY_SIZE definition.
+
+2021-12-14 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/103408
+ * g++.dg/concepts/diagnostic18.C: Expect a "constraints on a
+ non-templated function" error.
+ * g++.dg/cpp23/auto-fncast11.C: New test.
+
+2021-12-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/103587
+ * gcc.dg/pr103587.c: New test.
+
+2021-12-14 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR fortran/103576
+ PR testsuite/103697
+ * gfortran.dg/goacc/privatization-1-compute-loop.f90: Adjust.
+ * 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.
+
2021-12-13 Vladimir N. Makarov <vmakarov@redhat.com>
PR target/99531
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index ccad9a3..90d7daf 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,10 @@
+2021-12-14 Harald Anlauf <anlauf@gmx.de>
+
+ PR libfortran/103634
+ * intrinsics/pack_generic.c (pack_internal): Handle case when the
+ array argument of PACK has one or more extents of size zero to
+ avoid invalid reads.
+
2021-10-18 Tobias Burnus <tobias@codesourcery.com>
PR fortran/102086
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 1210f88..7fd1864 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,54 @@
+2021-12-14 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/103687
+ * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Restore
+ original locale before returning.
+ * testsuite/22_locale/time_get/get_time/char/2.cc: Check for %p
+ in locale's T_FMT and adjust accordingly.
+ * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
+
+2021-12-14 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/102447
+ * include/bits/regex_compiler.h (_Compiler::_BracketState): New
+ class.
+ (_Compiler::_BrackeyMatcher): New alias template.
+ (_Compiler::_M_expression_term): Change pair<bool, CharT>
+ parameter to _BracketState. Process first character for
+ ECMAScript syntax as well as POSIX.
+ * include/bits/regex_compiler.tcc
+ (_Compiler::_M_insert_bracket_matcher): Pass _BracketState.
+ (_Compiler::_M_expression_term): Use _BracketState to store
+ state between calls. Improve handling of dashes in ranges.
+ * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
+ Add more tests for ranges containing dashes. Check invalid
+ ranges with character class at the beginning.
+
+2021-12-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/ext/pointer.h (_Relative_pointer_impl::_UIntPtrType):
+ Rename to uintptr_t and define as __UINTPTR_TYPE__.
+
+2021-12-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/regex_constants.h (__syntax_option, __match_flag):
+ Remove.
+ (syntax_option_type, match_flag_type): Define enumerators.
+ Use to initialize globals. Add constexpr to compound assignment
+ operators.
+ * include/bits/regex_error.h (error_type): Add comment.
+ * testsuite/28_regex/constants/constexpr.cc: Remove comment.
+ * testsuite/28_regex/constants/error_type.cc: Improve comment.
+ * testsuite/28_regex/constants/match_flag_type.cc: Check bitmask
+ requirements.
+ * testsuite/28_regex/constants/syntax_option_type.cc: Likewise.
+
+2021-12-14 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/regex_compiler.tcc (_Compiler::_M_match_token):
+ Use reserved name for parameter.
+ * testsuite/17_intro/names.cc: Check "token".
+
2021-12-13 Jonathan Wakely <jwakely@redhat.com>
* scripts/make_exports.pl: Replace '?' with '.' when turning