+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/108413
+ * update-copyright.py (LibPhobosFilter): Add __builtins.di to
+ skipped files.
+
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/108413
+ * update-copyright.py (TestsuiteFilter): Add .mod and .rs extensions.
+ (GCCCopyright): Add 'The fast_float authors' as external author.
+
2023-01-15 Gerald Pfeifer <gerald@pfeifer.com>
* config-list.mk: Update FreeBSD targets to version 13.
+2023-01-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/105980
+ * config/i386/i386.cc (x86_output_mi_thunk): Disable
+ -mforce-indirect-call for PIC in 32-bit mode.
+
+2023-01-16 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/106077
+ * ipa-modref.cc (modref_access_analysis::analyze): Use
+ find_always_executed_bbs.
+ * ipa-sra.cc (process_scan_results): Likewise.
+ * ipa-utils.cc (stmt_may_terminate_function_p): New function.
+ (find_always_executed_bbs): New function.
+ * ipa-utils.h (stmt_may_terminate_function_p): Declare.
+ (find_always_executed_bbs): Declare.
+
+2023-01-16 Jan Hubicka <jh@suse.cz>
+
+ * config/i386/i386.cc (ix86_vectorize_builtin_scatter): Guard scatter
+ by TARGET_USE_SCATTER.
+ * config/i386/i386.h (TARGET_USE_SCATTER_2PARTS,
+ TARGET_USE_SCATTER_4PARTS, TARGET_USE_SCATTER): New macros.
+ * config/i386/x86-tune.def (TARGET_USE_SCATTER_2PARTS,
+ TARGET_USE_SCATTER_4PARTS, TARGET_USE_SCATTER): New tunes.
+ (X86_TUNE_AVOID_256FMA_CHAINS, X86_TUNE_AVOID_512FMA_CHAINS): Disable
+ for znver4. (X86_TUNE_USE_GATHER): Disable for zen4.
+
+2023-01-16 Richard Biener <rguenther@suse.de>
+
+ PR target/55522
+ * config/sol2.h (ENDFILE_SPEC): Don't add crtfastmath.o for -shared.
+
+2023-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
+
+ PR target/96795
+ PR target/107515
+ * config/arm/arm_mve.h (__ARM_mve_coerce2): Split types.
+ (__ARM_mve_coerce3): Likewise.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * tree-ssa-loop-niter.cc (build_popcount_expr): Add IFN support.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * tree-ssa-loop-niter.cc (number_of_iterations_cltz): New.
+ (number_of_iterations_bitcount): Add call to the above.
+ (number_of_iterations_exit_assumptions): Add EQ_EXPR case for
+ c[lt]z idiom recognition.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * doc/sourcebuild.texi: Add missing target attributes.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ PR tree-optimization/94793
+ * tree-scalar-evolution.cc (expression_expensive_p): Add checks
+ for c[lt]z optabs.
+ * tree-ssa-loop-niter.cc (build_cltz_expr): New.
+ (number_of_iterations_cltz_complement): New.
+ (number_of_iterations_bitcount): Add call to the above.
+
+2023-01-16 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/extend.texi (Common Function Attributes): Fix grammar.
+
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/108413
+ * config/riscv/riscv-vsetvl.h: Add space in between Copyright and (C).
+ * config/riscv/riscv-vsetvl.cc: Likewise.
+
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105593
+ * config/i386/xmmintrin.h (_mm_undefined_ps): Temporarily
+ disable -Winit-self using pragma GCC diagnostic ignored.
+ * config/i386/emmintrin.h (_mm_undefined_pd, _mm_undefined_si128):
+ Likewise.
+ * config/i386/avxintrin.h (_mm256_undefined_pd, _mm256_undefined_ps,
+ _mm256_undefined_si256): Likewise.
+ * config/i386/avx512fintrin.h (_mm512_undefined_pd,
+ _mm512_undefined_ps, _mm512_undefined_epi32): Likewise.
+ * config/i386/avx512fp16intrin.h (_mm_undefined_ph,
+ _mm256_undefined_ph, _mm512_undefined_ph): Likewise.
+
+2023-01-16 Kewen Lin <linkw@linux.ibm.com>
+
+ PR target/108272
+ * config/rs6000/rs6000.cc (rs6000_opaque_type_invalid_use_p): Add the
+ support for invalid uses in inline asm, factor out the checking and
+ erroring to lambda function check_and_error_invalid_use.
+
2023-01-15 Aldy Hernandez <aldyh@redhat.com>
PR tree-optimization/107608
+2023-01-16 Marc Poulhiès <poulhies@adacore.com>
+
+ * gcc-interface/Make-lang.in: Update copyright years.
+ * gcc-interface/Makefile.in: Likewise.
+ * gcc-interface/ada-builtin-types.def: Likewise.
+ * gcc-interface/ada-builtins.def: Likewise.
+ * gcc-interface/ada-tree.def: Likewise.
+ * gcc-interface/ada-tree.h: Likewise.
+ * gcc-interface/ada.h: Likewise.
+ * gcc-interface/config-lang.in: Likewise.
+ * gcc-interface/cuintp.cc: Likewise.
+ * gcc-interface/decl.cc: Likewise.
+ * gcc-interface/gadaint.h: Likewise.
+ * gcc-interface/gigi.h: Likewise.
+ * gcc-interface/lang-specs.h: Likewise.
+ * gcc-interface/lang.opt: Likewise.
+ * gcc-interface/misc.cc: Likewise.
+ * gcc-interface/system.ads: Likewise.
+ * gcc-interface/targtyps.cc: Likewise.
+ * gcc-interface/trans.cc: Likewise.
+ * gcc-interface/utils.cc: Likewise.
+ * gcc-interface/utils2.cc: Likewise.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Make_Allocator_For_Return): Fix typo in comment.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Make_Allocator_For_Return): Convert the expression
+ to the return object's type in the constrained array case as well.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Expand_N_Object_Declaration): For a class-wide non-
+ interface stand-alone object initialized by a function call, call
+ Remove_Side_Effects on the expression to capture the result.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_util.ads (Has_Tag_Of_Type): Declare.
+ * exp_util.adb (Has_Tag_Of_Type): Move to package level. Recurse on
+ qualified expressions.
+ * exp_ch3.adb (Expand_N_Object_Declaration): Use a static reference
+ to the interface tag in more cases for class-wide interface objects.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_util.adb (Make_CW_Equivalent_Type.Has_Tag_Of_Type): Fix pasto.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_util.adb (Is_Temporary_For_Interface_Object): Delete.
+ (Is_Finalizable_Transient.Is_Aliased): Deal with the specific case
+ of temporaries generated for interface objects.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Expand_N_Object_Declaration): Do not generate a back-
+ and-forth displacement of the object's address when using a renaming
+ for an interface object with an expression of the same type.
+ * exp_ch4.adb (Expand_Allocator_Expression): Do not remove the side
+ effects of the expression up front for the simple allocators. Do not
+ call the Adjust primitive if the expression is a function call.
+ * exp_ch6.adb (Expand_Ctrl_Function_Call): Do not expand the call
+ unnecessarily for a special return object.
+ (Expand_Simple_Function_Return): Restore the displacement of the
+ return object's address in the case where the expression is the call
+ to a function whose result type is a type that needs finalization.
+ * exp_util.adb (Expand_Subtype_From_Expr): Do not remove the side
+ effects of the expression before calling Make_Subtype_From_Expr.
+ (Make_CW_Equivalent_Type): If the expression has the tag of its type
+ and this type has a uniform size, use 'Object_Size of this type in
+ lieu of 'Size of the expression to compute the expression's size.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Make_Allocator_For_Return): Put back an interface
+ conversion for expressions with non-interface class-wide type.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Expand_N_Object_Declaration): Also optimize aliased
+ objects if their nominal subtype is not an unconstrained array.
+
+2023-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exp_ch3.adb (Expand_N_Object_Declaration): Factor out conditions
+ needed for an initializating expression that is a function call to
+ be renamable into the Is_Renamable_Function_Call predicate.
+ Use it to implement the renaming in the case of class-wide interface
+ objects. Remove an interface conversion on all paths, separate and
+ optimize the renaming path in the special expansion for interfaces.
+ (Is_Renamable_Function_Call): New predicate.
+ (Make_Allocator_For_Return): Put back an interface conversion.
+ * exp_ch6.adb (Apply_CW_Accessibility_Check): Remove useless access
+ checks on RE_Tag_Ptr.
+
2023-01-09 Arnaud Charlet <charlet@adacore.com>
* accessibility.adb, accessibility.ads, ada_get_targ.adb: Update copyright year.
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105593
+ * c-parser.cc (c_parser_initializer): Check warning_enabled_at
+ at the DECL_SOURCE_LOCATION (decl) for OPT_Winit_self instead
+ of warn_init_self.
+
2023-01-14 Jakub Jelinek <jakub@redhat.com>
PR c++/108365
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105593
+ * decl.cc (cp_finish_decl): Check warning_enabled_at
+ at the DECL_SOURCE_LOCATION (decl) for OPT_Winit_self instead
+ of warn_init_self.
+
2023-01-14 Jakub Jelinek <jakub@redhat.com>
PR c++/108365
+2023-01-16 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * mc-boot-ch/Glibc.c (libc_time): New function.
+ (libc_localtime): New function.
+ * mc-boot/GDynamicStrings.c: Regenerate.
+ * mc-boot/GFIO.c: Regenerate.
+ * mc-boot/GFormatStrings.c: Regenerate.
+ * mc-boot/GIndexing.c: Regenerate.
+ * mc-boot/GM2Dependent.c: Regenerate.
+ * mc-boot/GM2EXCEPTION.c: Regenerate.
+ * mc-boot/GPushBackInput.c: Regenerate.
+ * mc-boot/GRTExceptions.c: Regenerate.
+ * mc-boot/GRTint.c: Regenerate.
+ * mc-boot/GStdIO.c: Regenerate.
+ * mc-boot/GStringConvert.c: Regenerate.
+ * mc-boot/GSysStorage.c: Regenerate.
+ * mc-boot/Gdecl.c: Regenerate.
+ * mc-boot/GmcComment.c: Regenerate.
+ * mc-boot/GmcComp.c: Regenerate.
+ * mc-boot/GmcDebug.c: Regenerate.
+ * mc-boot/GmcMetaError.c: Regenerate.
+ * mc-boot/GmcOptions.c: Regenerate.
+ * mc-boot/GmcStack.c: Regenerate.
+ * mc-boot/GnameKey.c: Regenerate.
+ * mc-boot/GsymbolKey.c: Regenerate.
+ * mc-boot/Gkeyc.c: Regenerate.
+ * mc/decl.mod (putFieldRecord): Change NulName to NulKey
+ and fix type comparision.
+ * mc/mcOptions.mod (YEAR): Remove.
+ (getYear): New procedure function.
+ (displayVersion): Use result from getYear instead of YEAR.
+ Emit boilerplate for GPL v3.
+ (gplBody): Use result from getYear instead of YEAR.
+ (glplBody): Use result from getYear instead of YEAR.
+
+2023-01-16 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * gm2-compiler/M2Quads.mod (AssignUnboundedVar): Check Type
+ against NulSym and call MetaErrorT1 if necessary.
+ (AssignUnboundedNonVar): Check Type against NulSym and
+ call MetaErrorT1 if necessary.
+ (BuildDesignatorPointer): Check Type1 against NulSym and
+ call MetaErrorT1 if necessary.
+
+2023-01-16 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * mc/mcOptions.mod (displayVersion): Change GPLv2 to GPLv3.
+ (YEAR) set to 2023.
+
2023-01-15 Gaius Mulley <gaiusmod2@gmail.com>
* gm2-compiler/M2LexBuf.mod (isSrcToken): Add block comment.
+2023-01-16 Andrew Pinski <apinski@marvell.com>
+
+ * lib/target-supports.exp (add_options_for_tls): Remove
+ reference to Solaris 9 in comments.
+
+2023-01-16 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/105980
+ * g++.target/i386/pr105980.C: New test.
+
+2023-01-16 Jan Hubicka <hubicka@ucw.cz>
+
+ * g++.dg/tree-ssa/pr106077.C: New test.
+
+2023-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
+
+ PR target/96795
+ PR target/107515
+ * gcc.target/arm/mve/intrinsics/mve_intrinsic_type_overloads-fp.c: New test.
+ * gcc.target/arm/mve/intrinsics/mve_intrinsic_type_overloads-int.c: New test.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * g++.dg/tree-ssa/pr86544.C: Add .POPCOUNT to tree scan regex.
+ * gcc.dg/tree-ssa/popcount.c: Likewise.
+ * gcc.dg/tree-ssa/popcount2.c: Likewise.
+ * gcc.dg/tree-ssa/popcount3.c: Likewise.
+ * gcc.target/aarch64/popcount4.c: Likewise.
+ * gcc.target/i386/pr95771.c: Likewise, and...
+ * gcc.target/i386/pr95771-2.c: ...split int128 test from above,
+ since this would emit just a single IFN if a TI optab is added.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * gcc.dg/tree-ssa/cltz-max.c: New test.
+ * gcc.dg/tree-ssa/clz-char.c: New test.
+ * gcc.dg/tree-ssa/clz-int.c: New test.
+ * gcc.dg/tree-ssa/clz-long-long.c: New test.
+ * gcc.dg/tree-ssa/clz-long.c: New test.
+ * gcc.dg/tree-ssa/ctz-char.c: New test.
+ * gcc.dg/tree-ssa/ctz-int.c: New test.
+ * gcc.dg/tree-ssa/ctz-long-long.c: New test.
+ * gcc.dg/tree-ssa/ctz-long.c: New test.
+
+2023-01-16 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * lib/target-supports.exp (check_effective_target_clz)
+ (check_effective_target_clzl, check_effective_target_clzll)
+ (check_effective_target_ctz, check_effective_target_clzl)
+ (check_effective_target_ctzll): New.
+ * gcc.dg/tree-ssa/cltz-complement-max.c: New test.
+ * gcc.dg/tree-ssa/clz-complement-char.c: New test.
+ * gcc.dg/tree-ssa/clz-complement-int.c: New test.
+ * gcc.dg/tree-ssa/clz-complement-long-long.c: New test.
+ * gcc.dg/tree-ssa/clz-complement-long.c: New test.
+ * gcc.dg/tree-ssa/ctz-complement-char.c: New test.
+ * gcc.dg/tree-ssa/ctz-complement-int.c: New test.
+ * gcc.dg/tree-ssa/ctz-complement-long-long.c: New test.
+ * gcc.dg/tree-ssa/ctz-complement-long.c: New test.
+
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105593
+ * g++.target/i386/pr105593.C: New test.
+
+2023-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/105593
+ * c-c++-common/Winit-self3.c: New test.
+ * c-c++-common/Winit-self4.c: New test.
+ * c-c++-common/Winit-self5.c: New test.
+
+2023-01-16 Kewen Lin <linkw@linux.ibm.com>
+
+ PR target/108272
+ * gcc.target/powerpc/pr108272-1.c: New test.
+ * gcc.target/powerpc/pr108272-2.c: New test.
+ * gcc.target/powerpc/pr108272-3.c: New test.
+ * gcc.target/powerpc/pr108272-4.c: New test.
+
2023-01-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
* gcc.target/aarch64/sve/acle/general/pr96463-2.c: Adjust.
+2023-01-16 Jonathan Wakely <jwakely@redhat.com>
+
+ * configure.tgt (config_path) [target_thread_file=single]:
+ Use 'mingw' config.
+
2023-01-07 LIU Hao <lh_mouse@126.com>
PR middle-end/108300
+2023-01-16 Joseph Myers <joseph@codesourcery.com>
+
+ * ka.po: New.
+
2023-01-09 Joseph Myers <joseph@codesourcery.com>
* eo.po: Update.
+2023-01-16 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/c++20/tzdb.cc (_GLIBCXX_USE_CXX11_ABI): Define to 1.
+
+2023-01-16 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/108413
+ * include/c_compatibility/stdatomic.h: Change copyright line to
+ be consistent with other headers contributed under DCO terms.
+ * include/std/expected: Add full stop to copyright line.
+ * src/c++20/tzdb.cc: Likewise.
+
2023-01-15 Gerald Pfeifer <gerald@pfeifer.com>
* doc/xml/manual/status_cxx2014.xml: Switch www.open-std.org to