diff --git a/contrib/ChangeLog b/contrib/ChangeLog index b00c0368cd93806d317cb4782183eca8aa670231..a5505afc0756fb665e849203e6a83b064b8e4a3f 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,15 @@ +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. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e32d115c233e1cd1311b99f3ad2383a323b5097c..daddbdff40f9e5c492d0ff9fb7d8965e95109514 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,98 @@ +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 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 748a3e005837f7b00409e6b78f11284851f26e66..9081c2e74e5d2710820a961b37c1dce7c2478115 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230116 +20230117 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 11501640b1e76b84b3ab0510b537171a904a688b..cebcb42d0ff140588349ecf950db8ba1b6771b75 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,101 @@ +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. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 0a10d163325be9657f0305b6b12c0c785b716f4a..a9054999d151c24debc799e20904ef7b1d4d6d59 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +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 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5c91d4bc91bfff8dee934c1beb45f0e07fc56a18..4ed513b20646328630ba51503afbecf22ecf63c5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +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 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index ab0f6dd1a497f77c93e1b515a1f4fa5ca9ff1427..7364f1c3538fb20b833038f63a2c6e3b3afc2a35 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,52 @@ +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. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a57ad0d28cb13d2738919a75eaf1bd78fa46fba5..f96175e3a2b0d619211f34eb963eb3137c8622a2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,83 @@ +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. diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 16ef38e04f597940dd318890df57b259c7b8e4fd..61d128bba43386ee25e136c2d1de1e592cf3a271 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/libcpp/po/ChangeLog b/libcpp/po/ChangeLog index 8d9148128e410c79370aadb930e1ba69cb1e8933..2cd76f714d8eea1f4a644b38c0e7b20c1a6d597f 100644 --- a/libcpp/po/ChangeLog +++ b/libcpp/po/ChangeLog @@ -1,3 +1,7 @@ +2023-01-16 Joseph Myers <joseph@codesourcery.com> + + * ka.po: New. + 2023-01-09 Joseph Myers <joseph@codesourcery.com> * eo.po: Update. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6ca2c172e7ae04f2d3a30d8c286725ff9155663f..01233e9751c315ed80284d7e608529f3b624fa44 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +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