aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-01-08 00:16:27 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-01-08 00:16:27 +0000
commit55e96bf91237bc0b42fe0079006507d42c155e69 (patch)
tree2797f4a48753abf8a96d71ef5e687da6de678fce /gcc
parent11a2ff8d981110e1562caf7d98e41c1ff2e76056 (diff)
downloadgcc-55e96bf91237bc0b42fe0079006507d42c155e69.zip
gcc-55e96bf91237bc0b42fe0079006507d42c155e69.tar.gz
gcc-55e96bf91237bc0b42fe0079006507d42c155e69.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog59
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog304
-rw-r--r--gcc/analyzer/ChangeLog33
-rw-r--r--gcc/cp/ChangeLog111
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog133
7 files changed, 647 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c7d12d9..c25ecf6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,62 @@
+2022-01-08 David Malcolm <dmalcolm@redhat.com>
+
+ * doc/analyzer.texi
+ (Special Functions for Debugging the Analyzer): Document
+ __analyzer_dump_escaped.
+
+2022-01-08 David Malcolm <dmalcolm@redhat.com>
+
+ * doc/analyzer.texi (Other Debugging Techniques): Document
+ region::is_named_decl_p.
+
+2022-01-07 Andrew Pinski <apinski@marvell.com>
+
+ PR target/102941
+ * config/arm/aarch-common.c (arm_md_asm_adjust):
+ Use a temp if !REG_P.
+
+2022-01-07 Uroš Bizjak <ubizjak@gmail.com>
+
+ * config/i386/mmx.md (*move<V_32:mode>_internal): Add isa attribute.
+ (*movv2qi_internal): Remve sse2 requirement for alternatives 4,5.
+
+2022-01-07 liuhongt <hongtao.liu@intel.com>
+
+ PR rtl-optimization/103750
+ * fwprop.c (forward_propagate_into): Allow propagations from
+ inner loop to outer loop.
+
+2022-01-07 Roger Sayle <roger@nextmovesoftware.com>
+
+ * config/nvptx/nvptx.md (*cnot<mode>2): New define_insn.
+
+2022-01-07 Haochen Gui <guihaoc@gcc.gnu.org>
+
+ * config/rs6000/rs6000.md (rs6000_mffscrni): Define.
+ (rs6000_set_fpscr_rn): Change the type of operand[0] from DI to SI.
+ Call gen_rs6000_mffscrni when operand[0] is a const_0_to_3_operand.
+
+2022-01-07 liuhongt <hongtao.liu@intel.com>
+
+ * config/i386/sse.md
+ (*<avx512>_eq<mode>3<mask_scalar_merge_name>_1): Extend to
+ UNSPEC_PCMP_UNSIGNED.
+
+2022-01-07 liuhongt <hongtao.liu@intel.com>
+
+ PR target/103753
+ * config/i386/i386-expand.c (ix86_expand_vector_set): Not use
+ gen_avx2_pblendph_1 when elt == 0.
+ * config/i386/sse.md (avx2_pblendph): Rename to ..
+ (avx2_pblend<ssemodesuffix>_1).. this, and extend to V16HI.
+ (*avx2_pblendw): Rename to ..
+ (*avx2_pblend<ssemodesuffix>): .. this, and extend to V16HF.
+ (avx2_pblendw): Rename to ..
+ (*avx2_pblend<ssemodesuffix>): .. this, and extend to V16HF.
+ (blendsuf): Removed.
+ (sse4_1_pblend<blendsuf>): Renamed to ..
+ (sse4_1_pblend<ssemodesuffix>): .. this.
+
2022-01-06 H.J. Lu <hjl.tools@gmail.com>
PR target/103925
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 2493603..4c3145b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220107
+20220108
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 42a12ab..6a7b500 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,307 @@
+2022-01-07 Patrick Bernardi <bernardi@adacore.com>
+
+ * libgnat/a-direct.adb (Search_Data): Remove type.
+ (Directory_Vectors): New package instantiation.
+ (Search_State): New type.
+ (Fetch_Next_Entry): Remove.
+ (Close): Remove.
+ (Finalize): Rewritten.
+ (Full_Name): Ditto.
+ (Get_Next_Entry): Return next entry from Search results vector
+ rather than querying the directory directly using readdir.
+ (Kind): Rewritten.
+ (Modification_Time): Rewritten.
+ (More_Entries): Use Search state cursor to determine if more
+ entries are available for users to read.
+ (Simple_Name): Rewritten.
+ (Size): Rewritten.
+ (Start_Search_Internal): Rewritten to load the contents of the
+ directory that matches the pattern and filter into the search
+ object.
+ * libgnat/a-direct.ads (Search_Type): New type.
+ (Search_Ptr): Ditto.
+ (Directory_Entry_Type): Rewritten to support new Start_Search
+ procedure.
+ * libgnat/s-filatt.ads (File_Length_Attr): New function.
+
+2022-01-07 Etienne Servais <servais@adacore.com>
+
+ * sem_attr.adb (Check_Reference): Fix condition.
+
+2022-01-07 Ghjuvan Lacambre <lacambre@adacore.com>
+
+ * libgnarl/s-taprop__mingw.adb (Timed_Sleep): Remove "pragma
+ Unreferenced" for Result.
+ (Timed_Delay): Likewise.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * gen_il-gen.adb (Put_Make_Decls): Put pragma Inline in a
+ dedicated line, so that the current indentation is taken into
+ account.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_aggr.adb (Build_Array_Aggr_Code): Fix inconsistent style
+ in comments and code.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_aggr.adb (Gen_Assign): Remove explicit initialization for
+ components of access types.
+ (Get_Assoc_Expr): Enable initialization for components of all
+ types that require simple initialization.
+
+2022-01-07 Javier Miranda <miranda@adacore.com>
+
+ * atree.ads (Traverse_Func_With_Parent): New generic subprogram.
+ (Traverse_Proc_With_Parent): Likewise.
+ * atree.adb (Parents_Stack): New table used to traverse trees
+ passing the parent field of each node.
+ (Internal_Traverse_With_Parent): New generic subprogram.
+ (Traverse_Func_With_Parent): Likewise.
+ (Traverse_Proc_With_Parent): Likewise.
+ * contracts.adb (Fix_Parents): New subprogram.
+ (Restore_Original_Selected_Component): Enhanced to fix the
+ parent field of restored nodes.
+ (Inherit_Condition): Adding assertions to check the parent field
+ of inherited conditions and to ensure that the built inherited
+ condition has no reference to the formals of the parent
+ subprogram.
+ * sem_util.ads, sem_util.adb (Check_Parents): New subprogram.
+
+2022-01-07 Etienne Servais <servais@adacore.com>
+
+ * sem_attr.adb (Check_Placement_In_Test_Case): Fix typo.
+
+2022-01-07 Justin Squirek <squirek@adacore.com>
+
+ * comperr.adb (Delete_SCIL_Files): Replace unnecessary
+ Unreferenced pragma with specific pragma Warnings.
+ * doc/gnat_rm/implementation_defined_pragmas.rst (Unreferenced):
+ Add documentation for new behavior.
+ * gnat_rm.texi: Regenerate.
+ * erroutc.adb (Set_At): Remove useless assignment.
+ * exp_ch2.adb (In_Assignment_Context): Deleted.
+ (Is_Object_Renaming_Name): Replace calls to Is_LHS with calls to
+ Known_To_Be_Assigned.
+ (Expand_Current_Value): Replace calls to May_Be_Lvalue with
+ calls to Known_To_Be_Assigned.
+ (Expand_Entry_Paramter): Replace calls to In_Assignment_Context
+ with calls to Known_To_Be_Assigned.
+ * exp_ch4.adb (Expand_N_Op_Rem): Remove unnecessary Unreferenced
+ pragma.
+ * exp_imgv.adb (Build_Enumeration_Image_Tables): Default
+ initialize S_N.
+ * ghost.adb (Check_Ghost_Policy): Replace call to May_Be_Lvalue
+ with call to Known_To_Be_Assigned.
+ * lib-xref.adb (Is_On_LHS): Deleted.
+ (OK_To_Set_Referenced): Rewrite subprogram to encompass the new
+ pragma Unreferenced behavior.
+ (Process_Deferred_References): Replace call to Is_LHS with call
+ to Known_To_Be_Assigned.
+ * libgnarl/s-taasde.adb, libgnarl/s-tasren.adb,
+ libgnarl/s-tpobop.adb, libgnat/a-calend.adb,
+ libgnat/a-calfor.adb, libgnat/a-cbdlli.adb,
+ libgnat/a-cbhama.adb, libgnat/a-cbhase.adb,
+ libgnat/a-cbmutr.adb, libgnat/a-cborma.adb,
+ libgnat/a-cborse.adb, libgnat/a-cdlili.adb,
+ libgnat/a-cfhama.adb, libgnat/a-cforse.adb,
+ libgnat/a-cidlli.adb, libgnat/a-cihama.adb,
+ libgnat/a-cihase.adb, libgnat/a-cimutr.adb,
+ libgnat/a-ciorma.adb, libgnat/a-ciormu.adb,
+ libgnat/a-ciorse.adb, libgnat/a-cohama.adb,
+ libgnat/a-cohase.adb, libgnat/a-comutr.adb,
+ libgnat/a-convec.adb, libgnat/a-coorma.adb,
+ libgnat/a-coormu.adb, libgnat/a-coorse.adb,
+ libgnat/a-crdlli.adb, libgnat/a-tigeau.adb,
+ libgnat/a-wtgeau.adb, libgnat/a-ztgeau.adb,
+ libgnat/g-calend.adb, libgnat/g-comlin.adb,
+ libgnat/g-expect.adb, libgnat/g-mbflra.adb,
+ libgnat/g-spipat.adb, libgnat/s-fatgen.adb,
+ libgnat/s-fileio.adb, libgnat/s-os_lib.adb,
+ libgnat/s-regpat.adb, libgnat/s-valued.adb,
+ libgnat/s-valuer.adb: Remove unnecessary Unreferenced pragmas
+ * sem_ch10.adb (Process_Spec_Clauses): Remove useless
+ assignments.
+ * sem_ch13.adb (Validate_Literal_Aspect): Default initialize I.
+ * sem_ch3.adb (Build_Derived_Concurrent_Type): Default
+ initialize Corr_Decl.
+ * sem_ch8.adb (Undefined): Replace calls to Is_LHS with calls to
+ Known_To_Be_Assigned.
+ (In_Abstract_View_Pragma): Likewise.
+ * sem_eval.adb (Eval_Selected_Component): Replace calls to
+ Is_LHS with calls to Known_To_Be_Assigned.
+ * sem_res.adb (Init_Component): Replace calls to May_Be_Lvalue
+ with calls to Known_To_Be_Assigned.
+ * sem_util.adb, sem_util.ads (End_Label_Loc): Default initialize
+ Owner.
+ (Explain_Limited_Type): Default initialize Expr_Func.
+ (Find_Actual): Modified to handle entry families.
+ (Is_LHS): Deleted.
+ (May_Be_Lvalue): Deleted.
+ (Known_To_Be_Assigned): Modified and improved to handle all
+ cases.
+ * sem_warn.adb (Traverse_Result): Replace calls to May_Be_Lvalue
+ with calls to Known_To_Be_Assigned.
+ (Check_Ref): Modify error on unreferenced out parameters to take
+ into account different warning flags.
+
+2022-01-07 Javier Miranda <miranda@adacore.com>
+
+ * sem_ch3.adb (Reorder_Interfaces): When the conflicting
+ interface is identified we just replace the interface in the
+ list of interfaces of the tagged type (instead of adding a
+ duplicate to the list of interfaces).
+
+2022-01-07 Dmitriy Anisimkov <anisimko@adacore.com>
+
+ * adaint.c (__gnat_kill): Terminate process only in case of
+ SIGKILL, SIGINT, SIGBREAK, SIGTERM, SIGABRT. Do not call
+ OpenProcess if not going to terminate process.
+
+2022-01-07 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_prag.adb (Expand_Pragma_Inspection_Point): Do a single pass
+ over the arguments of the pragma. Set the Address_Taken flag on
+ them and use the Has_Delayed_Freeze flag to spot those which have
+ their elaboration delayed. Reuse the location variable Loc.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * osint.adb (To_Lower): Clarify that only To_Lower function
+ causes bootstrap issues; fix style.
+ * treepr.adb (Print_Str_Mixed_Case): Reuse existing case
+ conversion routine.
+ (To_Mixed): Rename from Capitalize; reuse System.Case_Util
+ procedure and explain the bootstrap issue.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch7.adb (Process_Transients_In_Scope): Remove unnecessary
+ initialization of Must_Hook; change Detect_Subprogram_Call from
+ function to procedure; adapt caller.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch5.adb, exp_disp.adb, exp_util.adb, par-ch4.adb,
+ sem_ch13.adb: Remove extra space before THEN that occurs at the
+ end of a line.
+
+2022-01-07 Dmitriy Anisimkov <anisimko@adacore.com>
+
+ * expect.c (__gnat_waitpid): Use macros WIFEXITED, WEXITSTATUS,
+ WIFSIGNALED, WTERMSIG, WIFSTOPPED, WSTOPSIG to get exit status
+ or signal that caused the child process to terminate/stop. Do
+ not process exit status in case of error in waitpid call.
+ * adaint.c (__gnat_kill): Use of GenerateConsoleCtrlEvent is
+ removed in Windows variant as it actually is not working and was
+ terminating the calling process. Set signal number into exit
+ code parameter of TerminateProcess to work the same like in
+ Linux.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch5.adb (Expand_N_Case_Statement): Remove explicit
+ expansion.
+
+2022-01-07 Etienne Servais <servais@adacore.com>
+
+ * doc/gnat_ugn/building_executable_programs_with_gnat.rst:
+ Update -gnatwr documentation.
+ * gnat_ugn.texi: Regenerate.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_unst.adb (Unnest_Subprogram): Sync comment with the
+ current code.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch4.adb (Raise_Accessibility_Error): Move exception name
+ to the message string; move << control characters to the end,
+ for consistency.
+ * sem_ch6.adb (Analyze_Function_Return): Likewise.
+ * sem_util.adb (Compile_Time_Constraint_Error): Likewise.
+ * gcc-interface/decl.c (gnat_to_gnu_entity): Remove quotes
+ around Storage_Error.
+ * gcc-interface/trans.c (gnat_to_gnu): Remove quotes around
+ Constraint_Error.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * errout.adb (Error_Msg): Move warning suppression code from
+ Error_Msg_NLE
+ (Error_Msg_NLE): Warning suppression is now done by the internal
+ call to Error_Msg.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch3.adb (Expand_N_Object_Declaration): Remove unnecessary
+ guards.
+ * exp_ch4.adb (Expand_N_If_Expression): Likewise; clarify comment.
+ * exp_ch5.adb (Expand_N_If_Statement,
+ Expand_Iterator_Loop_Over_Container): Likewise.
+ * exp_ch9.adb (Expand_N_Task_Type_Declaration): Remove redundant
+ guard.
+ * freeze.adb (Freeze_All_Ent): Reduce scope of a local variable.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * exp_ch3.adb (Build_Init_Procedure): Remove unnecessary guard.
+ * exp_disp.adb (Make_DT): Likewise.
+ * sem_ch12.adb (Analyze_Associations): Likewise.
+
+2022-01-07 Etienne Servais <servais@adacore.com>
+
+ * sem_res.adb (Resolve_Op_Concat_Arg): Check range when
+ concatenating scalars.
+
+2022-01-07 Bob Duff <duff@adacore.com>
+
+ * treepr.adb (Print_Node_Ref): Change "not Is_Array_Type" to
+ "Is_Discrete_Type".
+
+2022-01-07 Richard Kenner <kenner@adacore.com>
+
+ * libgnat/g-spipat.ads (Boolean_Func, Natural_Func,
+ VString_Func): Mark as Favor_Top_Level.
+ * sem_ch13.adb (Validate_Unchecked_Conversion): Avoid using
+ internal representation if Unchecked_Conversion between
+ an access to subprogram and System.Address within the same unit.
+
+2022-01-07 Bob Duff <duff@adacore.com>
+
+ * treepr.adb (Print_Node_Ref): Print the value if available.
+
+2022-01-07 Richard Kenner <kenner@adacore.com>
+
+ * sem_util.ads, sem_util.adb (Get_Fullest_View): Add option to
+ not recurse and return the next-most-fullest view.
+
+2022-01-07 Bob Duff <duff@adacore.com>
+
+ * sem_ch10.adb (Check_Redundant_Withs): Add a warning if a
+ library unit with's its own ancestor. Note that this warning is
+ not triggered for something like "with P.R;" in P.Q, because
+ there the "with P;" is considered implicit.
+ * fname-sf.adb, libgnarl/s-stusta.adb, libgnarl/s-tasdeb.ads,
+ libgnat/a-calfor.adb, libgnat/a-tiboio.adb,
+ libgnat/a-wwboio.adb, libgnat/a-zzboio.adb, libgnat/i-cobol.adb,
+ libgnat/s-bitops.adb, libgnat/s-bitops.ads,
+ libgnat/s-direio.adb, libgnat/s-dwalin.adb,
+ libgnat/s-geveop.adb, libgnat/s-mmosin__unix.adb,
+ libgnat/s-os_lib.adb, libgnat/s-os_lib.ads,
+ libgnat/s-pooglo.ads, libgnat/s-secsta.adb,
+ libgnat/s-shasto.adb, libgnat/s-stausa.ads,
+ libgnat/s-stratt.ads, libgnat/s-ststop.adb: Remove with of
+ parent.
+ * sinfo.ads: Minor comment fix.
+
+2022-01-07 Bob Duff <duff@adacore.com>
+
+ * osint-m.adb: Remove with_clause and pragma.
+
2022-01-06 Bob Duff <duff@adacore.com>
* sem_res.adb (Resolve_Range): Warn on null range, unless we are
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 9b2b59b..3484e35 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,36 @@
+2022-01-08 David Malcolm <dmalcolm@redhat.com>
+
+ * engine.cc (impl_run_checkers): Pass logger to engine ctor.
+ * region-model-manager.cc
+ (region_model_manager::region_model_manager): Add logger param and
+ use it to initialize m_logger.
+ * region-model.cc (engine::engine): New.
+ * region-model.h (region_model_manager::region_model_manager):
+ Add logger param.
+ (region_model_manager::get_logger): New.
+ (region_model_manager::m_logger): New field.
+ (engine::engine): New.
+ * store.cc (store_manager::get_logger): New.
+ (store::set_value): Log scope. Log when marking a cluster as
+ unknown due to possible aliasing.
+ * store.h (store_manager::get_logger): New decl.
+
+2022-01-08 David Malcolm <dmalcolm@redhat.com>
+
+ * region-model-impl-calls.cc (cmp_decls): New.
+ (cmp_decls_ptr_ptr): New.
+ (region_model::impl_call_analyzer_dump_escaped): New.
+ * region-model.cc (region_model::on_stmt_pre): Handle
+ __analyzer_dump_escaped.
+ * region-model.h (region_model::impl_call_analyzer_dump_escaped):
+ New decl.
+ * store.h (binding_cluster::get_base_region): New accessor.
+
+2022-01-08 David Malcolm <dmalcolm@redhat.com>
+
+ * region.cc (region::is_named_decl_p): New.
+ * region.h (region::is_named_decl_p): New decl.
+
2022-01-06 David Malcolm <dmalcolm@redhat.com>
PR analyzer/103546
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 98f4d98..b2c47cd 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,114 @@
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/20040
+ * init.c (build_new_1): Also build pointer cleanup if
+ TYPE_GETS_DELETE.
+ * cp-tree.h (TYPE_GETS_VEC_DELETE): New.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/103936
+ PR c++/65591
+ * cp-gimplify.c (cp_gimplify_expr): Restore VEC_INIT_EXPR handling.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/103711
+ * init.c (perform_target_ctor): Select destructor by in_chrg.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/61611
+ * except.c (in_nested_catch): New.
+ (expand_end_catch_block): Check it.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/33799
+ PR c++/102191
+ * except.c (maybe_splice_retval_cleanup): Check
+ current_binding_level.
+ * semantics.c (do_poplevel): Call it here.
+ * parser.c (cp_parser_compound_statement): Not here.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/53868
+ * decl.c (cp_finish_decl): Use wrap_temporary_cleanups for
+ cleanups from set_up_extended_ref_temp.
+ (wrap_temporary_cleanups): Ignore array cleanups.
+ (initialize_local_var): Don't check for array here.
+ * cp-tree.h (BIND_EXPR_VEC_DTOR): New.
+ * init.c (build_vec_delete_1): Set it.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/66451
+ * init.c (build_vec_delete_1): Handle throwing dtor.
+ (build_vec_init): Tell it we're in a cleanup already.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ * typeck2.c (split_nonconstant_init_1): Don't cleanup the last elt.
+ (split_nonconstant_init): Adjust.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/66139
+ PR c++/52320
+ * constexpr.c (replace_decl): Rename from replace_result_decl.
+ * cp-tree.h (replace_decl): Declare it.
+ * cp-gimplify.c (cp_gimplify_init_expr): Call it.
+ (cp_gimplify_expr): Don't handle VEC_INIT_EXPR.
+ (cp_genericize_init, cp_genericize_init_expr)
+ (cp_genericize_target_expr): New.
+ (cp_fold_r): Call them.
+ * tree.c (build_array_copy): Add a TARGET_EXPR.
+ * typeck2.c (digest_init_r): Look through a TARGET_EXPR.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/94041
+ * decl.c (initialize_local_var): Fix comment.
+ * init.c (build_new_1): Do stabilize array init.
+ (build_vec_init): Use TARGET_EXPR for cleanup. Initialization
+ of an element from an explicit initializer is not a
+ full-expression.
+ * tree.c (expand_vec_init_expr): Pass flags through.
+ * typeck2.c (split_nonconstant_init_1): Handle VEC_INIT_EXPR.
+ (split_nonconstant_init): Handle array cleanups.
+ * cp-tree.h: Adjust.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/94041
+ * decl.c (check_initializer): Remove obsolete comment.
+ (wrap_cleanups_r): Don't wrap CLEANUP_EH_ONLY.
+ (initialize_local_var): Change assert to test.
+ * typeck2.c (maybe_push_temp_cleanup): New.
+ (split_nonconstant_init_1): Use it.
+ (split_nonconstant_init): Clear cleanup flags.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/92385
+ * typeck2.c (PICFLAG_VEC_INIT): New.
+ (process_init_constructor_array): Set it.
+ (process_init_constructor): Handle it.
+ (split_nonconstant_init_1): Handle VEC_INIT_EXPR.
+ * init.c (build_vec_init): Likewise.
+ * cp-gimplify.c (cp_gimplify_expr): Factor out...
+ * tree.c (expand_vec_init_expr): ...this function.
+ (build_vec_init_elt): Handle BRACE_ENCLOSED_INITIALIZER_P.
+ (build_vec_init_expr): Likewise.
+ * constexpr.c (cxx_eval_vec_init): Likewise.
+ (reduced_constant_expression_p): Check arrays before C++20.
+ * cp-tree.h (expand_vec_init_expr): Declare.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ * init.c (build_new_1): Remove preevaluation code.
+
2022-01-05 Nathan Sidwell <nathan@acm.org>
* pt.c (instantiate_class_template_1): Process attribute((used)) set
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index bc7c2cb..f9ee175 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-07 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR fortran/103898
+ * trans-intrinsic.c (gfc_conv_intrinsic_size): Make size_var
+ actually be a variable and fix surrounding code.
+
2022-01-06 Steve Kargl <kargl@gcc.gnu.org>
Sandra Loosemore <sandra@codesourcery.com>
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d6dfeac..01a661d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,136 @@
+2022-01-08 David Malcolm <dmalcolm@redhat.com>
+
+ * gcc.dg/analyzer/analyzer-decls.h (__analyzer_dump_escaped): New
+ decl.
+ * gcc.dg/analyzer/escaping-1.c: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/20040
+ * g++.dg/init/delete4.C: New test.
+
+2022-01-07 Andrew Pinski <apinski@marvell.com>
+
+ PR target/102941
+ * gcc.target/aarch64/asm-flag-7.c: New test.
+ * gcc.target/arm/asm-flag-7.c: New test.
+
+2022-01-07 Piotr Trojanek <trojanek@adacore.com>
+
+ * gnat.dg/aggr26.adb: Update expected error message.
+
+2022-01-07 liuhongt <hongtao.liu@intel.com>
+
+ * g++.target/i386/pr103750-fwprop-1.C: New test.
+
+2022-01-07 Roger Sayle <roger@nextmovesoftware.com>
+
+ * gcc.target/nvptx/cnot-1.c: New test case.
+
+2022-01-07 Haochen Gui <guihaoc@gcc.gnu.org>
+
+ * gcc.target/powerpc/mffscrni_p9.c: New testcase for mffscrni.
+ * gcc.target/powerpc/test_fpscr_rn_builtin.c: Test mffscrn and mffscrni
+ separately.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/103936
+ PR c++/65591
+ * g++.dg/init/aggr15.C: New test.
+
+2022-01-07 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr103774.c: New test.
+ * gcc.target/i386/avx512bw-vpcmpequb-1.c: Adjust scan assembler
+ from vpcmpub to (?:vpcmpub|vpcmpeqb).
+ * gcc.target/i386/avx512bw-vpcmpequw-1.c: Ditto.
+ * gcc.target/i386/avx512bw-vpcmpub-1.c: Ditto.
+ * gcc.target/i386/avx512bw-vpcmpuw-1.c: Ditto.
+ * gcc.target/i386/avx512f-vpcmpequd-1.c: Ditto.
+ * gcc.target/i386/avx512f-vpcmpequq-1.c: Ditto.
+ * gcc.target/i386/avx512f-vpcmpud-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpequd-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpequq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpuq-1.c: Ditto.
+
+2022-01-07 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr103753.c: New test.
+
+2022-01-07 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR fortran/103898
+ * gfortran.dg/pr103898.f90: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/103711
+ * g++.dg/eh/delegating1.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/61611
+ * g++.dg/eh/ctor-fntry1.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/33799
+ PR c++/102191
+ * g++.dg/eh/return1.C: Add temporary in try block case.
+ * g++.dg/cpp2a/constexpr-dtor11.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/53868
+ * g++.dg/eh/ref-temp1.C: New test.
+ * g++.dg/eh/ref-temp2.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/66451
+ * g++.dg/eh/array3.C: New test.
+ * g++.dg/eh/array1.C: Mark destructor as throw().
+ * g++.dg/ipa/devirt-40.C: Likewise.
+ * g++.dg/warn/pr83054.C: Likewise.
+ * g++.dg/eh/delete1.C: Shorten array to one element.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/tree-ssa/aggregate1.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/66139
+ PR c++/52320
+ * g++.dg/cpp0x/initlist116.C: New test.
+ * g++.dg/cpp0x/initlist117.C: New test.
+ * g++.dg/cpp0x/lambda/lambda-eh.C: New test.
+ * g++.dg/eh/aggregate1.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/94041
+ * g++.dg/init/array12.C:
+ * g++.dg/init/aggr7-eh2.C: New test.
+ * g++.dg/init/aggr7-eh3.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/94041
+ * g++.dg/init/aggr7-eh.C: New test.
+ * g++.dg/cpp0x/initlist122.C: Also test aggregate variable.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ PR c++/92385
+ * g++.dg/init/array61.C: New test.
+
+2022-01-07 Jason Merrill <jason@redhat.com>
+
+ * g++.old-deja/g++.martin/new1.C: Don't expect preeval.
+ * g++.dg/tree-ssa/stabilize1.C: Removed.
+
2022-01-06 David Malcolm <dmalcolm@redhat.com>
PR analyzer/103546