summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--config/ChangeLog5
-rw-r--r--contrib/ChangeLog11
-rw-r--r--gcc/ChangeLog146
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog52
-rw-r--r--gcc/fortran/ChangeLog13
-rw-r--r--gcc/po/ChangeLog4
-rw-r--r--gcc/testsuite/ChangeLog112
-rw-r--r--libgcc/ChangeLog18
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libstdc++-v3/ChangeLog17
12 files changed, 395 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b252306f87..5c545e5c186 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+
+ * MAINTAINERS: (CPU Port Maintainers): Add myself and
+ Lulu as LoongArch port maintainer.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * configure.ac: Add LoongArch tuples.
+ * configure: Regenerate.
+
2022-03-28 Tom Tromey <tromey@adacore.com>
* configure.ac: Remove --with-mpfr-dir and --with-gmp-dir.
diff --git a/config/ChangeLog b/config/ChangeLog
index 066c01f9b56..abeeecdb94d 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * picflag.m4: Default add build option '-fpic' for LoongArch.
+
2021-12-21 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/103528
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 6da801bccbe..8820ec9a3bb 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,14 @@
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * config-list.mk: Add LoongArch triplet.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * gcc_update (files_and_dependencies): Add
+ config/loongarch/loongarch.opt and config/loongarch/loongarch-str.h.
+
2022-03-28 Martin Liska <mliska@suse.cz>
* gcc-changelog/git_commit.py: Match trailing dot literally.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9ec7a7c4663..fd8498f9c48 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,149 @@
+2022-03-29 Marek Polacek <polacek@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ 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 <meissner@linux.ibm.com>
+
+ * config/rs6000/vsx.md (vsx_extract_<mode>): Allow destination to
+ be any VSX register.
+
+2022-03-29 Richard Earnshaw <rearnsha@arm.com>
+
+ 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 <rearnsha@arm.com>
+
+ 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 <rearnsha@arm.com>
+
+ PR target/96882
+ * config/arm/arm.cc (arm_get_pcs_model): Disable selection of
+ ARM_PCS_AAPCS_LOCAL.
+
+2022-03-29 Tom de Vries <tdevries@suse.de>
+
+ 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 <tdevries@suse.de>
+
+ * config/nvptx/nvptx.opt (m64): Update help text to reflect that it
+ is ignored.
+
+2022-03-29 Tom de Vries <tdevries@suse.de>
+
+ PR target/104714
+ * config/nvptx/nvptx.opt (march-map=*): Add aliases.
+
+2022-03-29 Jan Hubicka <hubicka@ucw.cz>
+
+ * 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 <tdevries@suse.de>
+
+ * config/nvptx/nvptx.opt (march): Add alias of misa.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * 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 <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * config/loongarch/loongarch-c.cc
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * config/loongarch/larchintrin.h: New file.
+ * config/loongarch/loongarch-builtins.cc: New file.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * 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 <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * 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 <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * configure: Regenerate file.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * 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 <thomas@codesourcery.com>
+
+ * opt-functions.awk (lang_enabled_by): Fix 'enabledby_negargs'
+ typo.
+
+2022-03-29 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105080
+ * tree-ssa-strlen.cc (printf_strlen_execute): Always init
+ loops and SCEV.
+
2022-03-28 Indu Bhagat <indu.bhagat@oracle.com>
* ctfout.cc (ctf_preprocess): Use ctfc_get_num_ctf_vars instead.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 03b2f588835..5ef3293bd94 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220329
+20220330
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index d0c74b48105..123e8cbd554 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,55 @@
+2022-03-29 David Malcolm <dmalcolm@redhat.com>
+
+ PR testsuite/105085
+ * region-model-manager.cc (dump_untracked_region): Skip decls in
+ the constant pool.
+
+2022-03-29 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
PR analyzer/105057
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index a2aac51bd2e..0e05013d94a 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,16 @@
+2022-03-29 Harald Anlauf <anlauf@gmx.de>
+ Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/104571
+ * resolve.cc (resolve_elemental_actual): Avoid NULL pointer
+ dereference.
+
+2022-03-29 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/50549
+ * resolve.cc (resolve_structure_cons): Reject pointer assignments
+ of character with different lengths in structure constructor.
+
2022-03-25 Jakub Jelinek <jakub@redhat.com>
PR fortran/103691
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index 6406788b4f8..4d1997b2d04 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-29 Joseph Myers <joseph@codesourcery.com>
+
+ * hr.po: Update.
+
2022-03-28 Joseph Myers <joseph@codesourcery.com>
* sv.po: Update.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 08e5ae798e4..f3335e7254c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,115 @@
+2022-03-29 David Malcolm <dmalcolm@redhat.com>
+
+ PR testsuite/105085
+ * gcc.dg/analyzer/untracked-1.c: Add further test coverage.
+
+2022-03-29 Harald Anlauf <anlauf@gmx.de>
+ Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/104571
+ * gfortran.dg/pr104571.f90: New test.
+
+2022-03-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * g++.dg/cpp0x/noexcept06.C: Disable for C++23.
+
+2022-03-29 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/50549
+ * gfortran.dg/char_pointer_assign_7.f90: New test.
+
+2022-03-29 Marek Polacek <polacek@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/103597
+ * c-c++-common/Wimplicit-fallthrough-39.c: New test.
+
+2022-03-29 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/71637
+ * c-c++-common/Wmisleading-indentation-6.c: New test.
+
+2022-03-29 Richard Earnshaw <rearnsha@arm.com>
+
+ * gcc.target/aarch64/aapcs64/test_28.c: New test.
+
+2022-03-29 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/102024
+ * gcc.target/arm/aapcs/vfp26.c: New test.
+
+2022-03-29 Tom de Vries <tdevries@suse.de>
+
+ 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 <tdevries@suse.de>
+
+ PR target/104714
+ * gcc.target/nvptx/march-map.c: New test.
+
+2022-03-29 Tom de Vries <tdevries@suse.de>
+
+ * gcc.target/nvptx/main.c: New test.
+ * gcc.target/nvptx/march.c: New test.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * 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 <poulhies@adacore.com>
+
+ * gcc.target/i386/pr103275.c: Add missing
+ dg-require-effective-target for checking fpic.
+
+2022-03-29 Marc Poulhiès <poulhies@adacore.com>
+
+ * gcc.target/i386/pr97521.c: Add -Wno-psabi to dg-options.
+ * gcc.dg/analyzer/pr96713.c: Likewise.
+
+2022-03-29 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/105080
+ * gcc.dg/pr105080.c: New testcase.
+
+2022-03-29 David Malcolm <dmalcolm@redhat.com>
+
+ * 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 <dmalcolm@redhat.com>
+
+ 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 <ppalka@redhat.com>
PR c++/105067
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index b488ef2ca84..8b2b9f4c191 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,21 @@
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * configure: Regenerate file.
+
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * 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 <slyfox at gentoo dot org>
PR libgcc/86224
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 495e9e90ba8..d63ef50118a 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
+ Lulu Cheng <chenglulu@loongson.cn>
+
+ * configure.tgt: Add LoongArch triplet.
+
2022-03-28 Tom de Vries <tdevries@suse.de>
* plugin/configfrag.ac: Use /$(libexecdir:\$(exec_prefix)/%=%)/
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a64630f09dd..e40b4f334a9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,20 @@
+2022-03-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * libsupc++/compare (_Strong_order) [!__cpp_using_enum]: Add
+ static data members for _Fp_fmt enumerators.
+
+2022-03-29 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/version (__cpp_lib_variant): Fix conditions to
+ match <variant>.
+ (__cpp_lib_expected): Fix condition to match <expected>.
+
2022-03-28 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/optional/monadic/and_then.cc: Fix typo.