From 9f774626c021c244be6f4c9589c9dac71d544b15 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 30 Mar 2022 00:16:49 +0000 Subject: [PATCH] Daily bump. --- ChangeLog | 11 ++++ config/ChangeLog | 5 ++ contrib/ChangeLog | 11 ++++ gcc/ChangeLog | 146 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 52 +++++++++++++++++ gcc/fortran/ChangeLog | 13 +++++ gcc/po/ChangeLog | 4 ++ gcc/testsuite/ChangeLog | 112 +++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 18 ++++++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 17 ++++++ 12 files changed, 395 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0b25230..5c545e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2022-03-29 Chenghua Xu + + * MAINTAINERS: (CPU Port Maintainers): Add myself and + Lulu as LoongArch port maintainer. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * configure.ac: Add LoongArch tuples. + * configure: Regenerate. + 2022-03-28 Tom Tromey * configure.ac: Remove --with-mpfr-dir and --with-gmp-dir. diff --git a/config/ChangeLog b/config/ChangeLog index 066c01f..abeeecd 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2022-03-29 Chenghua Xu + Lulu Cheng + + * picflag.m4: Default add build option '-fpic' for LoongArch. + 2021-12-21 Iain Buclaw PR d/103528 diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 6da801b..8820ec9 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,14 @@ +2022-03-29 Chenghua Xu + Lulu Cheng + + * config-list.mk: Add LoongArch triplet. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * gcc_update (files_and_dependencies): Add + config/loongarch/loongarch.opt and config/loongarch/loongarch-str.h. + 2022-03-28 Martin Liska * gcc-changelog/git_commit.py: Match trailing dot literally. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ec7a7c..fd8498f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,149 @@ +2022-03-29 Marek Polacek + Jakub Jelinek + + PR middle-end/103597 + * gimplify.cc (collect_fallthrough_labels): Don't push UNUSED_LABEL_Ps + into labels. Maybe set prev to the statement preceding UNUSED_LABEL_P. + (gimplify_cond_expr): Set UNUSED_LABEL_P. + * tree.h (UNUSED_LABEL_P): New. + +2022-03-29 Michael Meissner + + * config/rs6000/vsx.md (vsx_extract_): Allow destination to + be any VSX register. + +2022-03-29 Richard Earnshaw + + PR target/102024 + * config/aarch64/aarch64.cc (aapcs_vfp_sub_candidate): Handle + zero-sized bit-fields. Detect cases where a warning may be needed. + (aarch64_vfp_is_call_or_return_candidate): Emit a note if a + zero-sized bit-field has caused parameter passing to change. + +2022-03-29 Richard Earnshaw + + PR target/102024 + * config/arm/arm.cc (aapcs_vfp_sub_candidate): Handle zero-sized + bit-fields. Detect cases where a warning may be needed. + (aapcs_vfp_is_call_or_return_candidate): Emit a note if + a zero-sized bit-field has caused parameter passing to change. + +2022-03-29 Richard Earnshaw + + PR target/96882 + * config/arm/arm.cc (arm_get_pcs_model): Disable selection of + ARM_PCS_AAPCS_LOCAL. + +2022-03-29 Tom de Vries + + PR target/104857 + * config/nvptx/nvptx-c.cc (nvptx_cpu_cpp_builtins): Emit + __PTX_ISA_VERSION_MAJOR__ and __PTX_ISA_VERSION_MINOR__. + * config/nvptx/nvptx.cc (ptx_version_to_number): New function. + * config/nvptx/nvptx-protos.h (ptx_version_to_number): Declare. + +2022-03-29 Tom de Vries + + * config/nvptx/nvptx.opt (m64): Update help text to reflect that it + is ignored. + +2022-03-29 Tom de Vries + + PR target/104714 + * config/nvptx/nvptx.opt (march-map=*): Add aliases. + +2022-03-29 Jan Hubicka + + * config/i386/i386-builtins.cc (ix86_vectorize_builtin_gather): Test + TARGET_USE_GATHER_2PARTS and TARGET_USE_GATHER_4PARTS. + * config/i386/i386.h (TARGET_USE_GATHER_2PARTS): New macro. + (TARGET_USE_GATHER_4PARTS): New macro. + * config/i386/x86-tune.def (X86_TUNE_USE_GATHER_2PARTS): New tune + (X86_TUNE_USE_GATHER_4PARTS): New tune + +2022-03-29 Tom de Vries + + * config/nvptx/nvptx.opt (march): Add alias of misa. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * doc/install.texi: Add LoongArch options section. + * doc/invoke.texi: Add LoongArch options section. + * doc/md.texi: Add LoongArch options section. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * config/loongarch/loongarch-c.cc + +2022-03-29 Chenghua Xu + Lulu Cheng + + * config/loongarch/larchintrin.h: New file. + * config/loongarch/loongarch-builtins.cc: New file. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * config/host-linux.cc: Add LoongArch support. + * config/loongarch/loongarch-protos.h: New file. + * config/loongarch/loongarch-tune.h: Likewise. + * config/loongarch/loongarch.cc: Likewise. + * config/loongarch/loongarch.h: Likewise. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * config/loongarch/constraints.md: New file. + * config/loongarch/generic.md: New file. + * config/loongarch/la464.md: New file. + * config/loongarch/loongarch-ftypes.def: New file. + * config/loongarch/loongarch-modes.def: New file. + * config/loongarch/loongarch.md: New file. + * config/loongarch/predicates.md: New file. + * config/loongarch/sync.md: New file. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * configure: Regenerate file. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * common/config/loongarch/loongarch-common.cc: New file. + * config/loongarch/genopts/genstr.sh: New file. + * config/loongarch/genopts/loongarch-strings: New file. + * config/loongarch/genopts/loongarch.opt.in: New file. + * config/loongarch/loongarch-str.h: New file. + * config/loongarch/gnu-user.h: New file. + * config/loongarch/linux.h: New file. + * config/loongarch/loongarch-cpu.cc: New file. + * config/loongarch/loongarch-cpu.h: New file. + * config/loongarch/loongarch-def.c: New file. + * config/loongarch/loongarch-def.h: New file. + * config/loongarch/loongarch-driver.cc: New file. + * config/loongarch/loongarch-driver.h: New file. + * config/loongarch/loongarch-opts.cc: New file. + * config/loongarch/loongarch-opts.h: New file. + * config/loongarch/loongarch.opt: New file. + * config/loongarch/t-linux: New file. + * config/loongarch/t-loongarch: New file. + * config.gcc: Add LoongArch support. + * configure.ac: Add LoongArch support. + +2022-03-29 Thomas Schwinge + + * opt-functions.awk (lang_enabled_by): Fix 'enabledby_negargs' + typo. + +2022-03-29 Richard Biener + + PR tree-optimization/105080 + * tree-ssa-strlen.cc (printf_strlen_execute): Always init + loops and SCEV. + 2022-03-28 Indu Bhagat * ctfout.cc (ctf_preprocess): Use ctfc_get_num_ctf_vars instead. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 03b2f58..5ef3293 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220329 +20220330 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index d0c74b4..123e8cb 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,55 @@ +2022-03-29 David Malcolm + + PR testsuite/105085 + * region-model-manager.cc (dump_untracked_region): Skip decls in + the constant pool. + +2022-03-29 David Malcolm + + PR analyzer/105087 + * analyzer.h (class conjured_purge): New forward decl. + * region-model-asm.cc (region_model::on_asm_stmt): Add + conjured_purge param to calls binding_cluster::on_asm and + region_model_manager::get_or_create_conjured_svalue. + * region-model-impl-calls.cc + (call_details::get_or_create_conjured_svalue): Likewise for call + to region_model_manager::get_or_create_conjured_svalue. + (region_model::impl_call_fgets): Remove call to + region_model::purge_state_involving, as this is now done + implicitly by call_details::get_or_create_conjured_svalue. + (region_model::impl_call_fread): Likewise. + (region_model::impl_call_strchr): Pass conjured_purge param to + call to region_model_manager::get_or_create_conjured_svalue. + * region-model-manager.cc (conjured_purge::purge): New. + (region_model_manager::get_or_create_conjured_svalue): Add + param "p". Use it to purge state when reusing an existing + conjured_svalue. + * region-model.cc (region_model::on_call_pre): Replace call to + region_model::purge_state_involving with passing conjured_purge + to region_model_manager::get_or_create_conjured_svalue. + (region_model::handle_unrecognized_call): Pass conjured_purge to + store::on_unknown_fncall. + * region-model.h + (region_model_manager::get_or_create_conjured_svalue): Add param + "p". + * store.cc (binding_cluster::on_unknown_fncall): Likewise. Pass + it on to region_model_manager::get_or_create_conjured_svalue. + (binding_cluster::on_asm): Likewise. + (store::on_unknown_fncall): Add param "p" and pass it on to + binding_cluster::on_unknown_fncall. + * store.h (binding_cluster::on_unknown_fncall): Add param p. + (binding_cluster::on_asm): Likewise. + (store::on_unknown_fncall): Likewise. + * svalue.h (class conjured_purge): New. + +2022-03-29 David Malcolm + + PR analyzer/105074 + * region.cc (ipa_ref_requires_tracking): Drop "context_fndecl", + instead using the ref->referring to get the cgraph node of the + caller. + (symnode_requires_tracking_p): Likewise. + 2022-03-26 David Malcolm PR analyzer/105057 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a2aac51..0e05013 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,16 @@ +2022-03-29 Harald Anlauf + Steven G. Kargl + + PR fortran/104571 + * resolve.cc (resolve_elemental_actual): Avoid NULL pointer + dereference. + +2022-03-29 Harald Anlauf + + PR fortran/50549 + * resolve.cc (resolve_structure_cons): Reject pointer assignments + of character with different lengths in structure constructor. + 2022-03-25 Jakub Jelinek PR fortran/103691 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 6406788..4d1997b 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2022-03-29 Joseph Myers + + * hr.po: Update. + 2022-03-28 Joseph Myers * sv.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 08e5ae7..f3335e7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,115 @@ +2022-03-29 David Malcolm + + PR testsuite/105085 + * gcc.dg/analyzer/untracked-1.c: Add further test coverage. + +2022-03-29 Harald Anlauf + Steven G. Kargl + + PR fortran/104571 + * gfortran.dg/pr104571.f90: New test. + +2022-03-29 Jonathan Wakely + + * lib/g++-dg.exp: Update comments. + * lib/g++.exp (gpp_std_list): Check for an existing value before + setting it to an empty list. + +2022-03-29 Jonathan Wakely + + * g++.dg/cpp0x/noexcept06.C: Disable for C++23. + +2022-03-29 Harald Anlauf + + PR fortran/50549 + * gfortran.dg/char_pointer_assign_7.f90: New test. + +2022-03-29 Marek Polacek + Jakub Jelinek + + PR middle-end/103597 + * c-c++-common/Wimplicit-fallthrough-39.c: New test. + +2022-03-29 Patrick Palka + + PR c++/71637 + * c-c++-common/Wmisleading-indentation-6.c: New test. + +2022-03-29 Richard Earnshaw + + * gcc.target/aarch64/aapcs64/test_28.c: New test. + +2022-03-29 Richard Earnshaw + + PR target/102024 + * gcc.target/arm/aapcs/vfp26.c: New test. + +2022-03-29 Tom de Vries + + PR target/104857 + * gcc.target/nvptx/ptx31.c: New test. + * gcc.target/nvptx/ptx60.c: New test. + * gcc.target/nvptx/ptx63.c: New test. + * gcc.target/nvptx/ptx70.c: New test. + +2022-03-29 Tom de Vries + + PR target/104714 + * gcc.target/nvptx/march-map.c: New test. + +2022-03-29 Tom de Vries + + * gcc.target/nvptx/main.c: New test. + * gcc.target/nvptx/march.c: New test. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * g++.dg/cpp0x/constexpr-rom.C: Add build options for LoongArch. + * g++.old-deja/g++.abi/ptrmem.C: Add LoongArch support. + * g++.old-deja/g++.pt/ptrmem6.C: xfail for LoongArch. + * gcc.dg/20020312-2.c: Add LoongArch support. + * c-c++-common/zero-scratch-regs-10.c: Like wise + * c-c++-common/zero-scratch-regs-11.c: Like wise + * c-c++-common/zero-scratch-regs-8.c: Like wise + * c-c++-common/zero-scratch-regs-9.c: Like wise + * gcc.dg/loop-8.c: Skip on LoongArch. + * gcc.dg/torture/stackalign/builtin-apply-2.c: Likewise. + * gcc.dg/tree-ssa/ssa-fre-3.c: Likewise. + * go.test/go-test.exp: Define the LoongArch target. + * lib/target-supports.exp: Like wise. + * gcc.target/loongarch/loongarch.exp: New file. + * gcc.target/loongarch/tst-asm-const.c: Like wise. + * gcc.target/loongarch/larch-builtin.c: Like wise. + +2022-03-29 Marc Poulhiès + + * gcc.target/i386/pr103275.c: Add missing + dg-require-effective-target for checking fpic. + +2022-03-29 Marc Poulhiès + + * gcc.target/i386/pr97521.c: Add -Wno-psabi to dg-options. + * gcc.dg/analyzer/pr96713.c: Likewise. + +2022-03-29 Richard Biener + + PR tree-optimization/105080 + * gcc.dg/pr105080.c: New testcase. + +2022-03-29 David Malcolm + + * gcc.dg/analyzer/pr105087-1.c: New test. + * gcc.dg/analyzer/pr105087-2.c: New test. + * gcc.dg/analyzer/vasprintf-1.c: New test. + +2022-03-29 David Malcolm + + PR analyzer/105074 + * gcc.dg/analyzer/pr105074.c: New test. + * gcc.dg/analyzer/untracked-1.c (extern_fn_char_ptr): New decl. + (test_13): New. + 2022-03-28 Patrick Palka PR c++/105067 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index b488ef2..8b2b9f4 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,21 @@ +2022-03-29 Chenghua Xu + Lulu Cheng + + * configure: Regenerate file. + +2022-03-29 Chenghua Xu + Lulu Cheng + + * config/loongarch/crtfastmath.c: New file. + * config/loongarch/linux-unwind.h: Like wise. + * config/loongarch/sfp-machine.h: Like wise. + * config/loongarch/t-crtstuff: Like wise. + * config/loongarch/t-loongarch: Like wise. + * config/loongarch/t-loongarch64: Like wise. + * config/loongarch/t-softfp-tf: Like wise. + * config.host: Add LoongArch tuples. + * configure.ac: Add LoongArch support. + 2022-03-19 Sergei Trofimovich PR libgcc/86224 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 495e9e9..d63ef50 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2022-03-29 Chenghua Xu + Lulu Cheng + + * configure.tgt: Add LoongArch triplet. + 2022-03-28 Tom de Vries * plugin/configfrag.ac: Use /$(libexecdir:\$(exec_prefix)/%=%)/ diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a64630f..e40b4f3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,20 @@ +2022-03-29 Jonathan Wakely + + * testsuite/18_support/exception/38732.cc: Disable for C++23. + * testsuite/18_support/headers/exception/synopsis.cc: Likewise. + * testsuite/18_support/unexpected_handler.cc: Likewise. + +2022-03-29 Jonathan Wakely + + * libsupc++/compare (_Strong_order) [!__cpp_using_enum]: Add + static data members for _Fp_fmt enumerators. + +2022-03-29 Jonathan Wakely + + * include/std/version (__cpp_lib_variant): Fix conditions to + match . + (__cpp_lib_expected): Fix condition to match . + 2022-03-28 Jonathan Wakely * testsuite/20_util/optional/monadic/and_then.cc: Fix typo. -- 2.7.4