aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-01-15 00:17:49 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-01-15 00:17:49 +0000
commit5013c3bb3ead9c27adb90152115ca1d606cbf2dc (patch)
tree62940c2c05856fc012580281a243a764c53e3e4a /gcc
parent523e8716a452978a7972478d8cdbbe0d1a794a74 (diff)
downloadgcc-5013c3bb3ead9c27adb90152115ca1d606cbf2dc.zip
gcc-5013c3bb3ead9c27adb90152115ca1d606cbf2dc.tar.gz
gcc-5013c3bb3ead9c27adb90152115ca1d606cbf2dc.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog112
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog19
-rw-r--r--gcc/c-family/ChangeLog12
-rw-r--r--gcc/c/ChangeLog10
-rw-r--r--gcc/cp/ChangeLog16
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/m2/ChangeLog12
-rw-r--r--gcc/testsuite/ChangeLog114
9 files changed, 301 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d112fe8..87e7dfb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,115 @@
+2023-01-14 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
+
+ * config/xtensa/xtensa-protos.h (order_regs_for_local_alloc):
+ Rename to xtensa_adjust_reg_alloc_order.
+ * config/xtensa/xtensa.cc (xtensa_adjust_reg_alloc_order):
+ Ditto. And also remove code to reorder register numbers for
+ leaf functions, rename the tables, and adjust the allocation
+ order for the call0 ABI to use register A0 more.
+ (xtensa_leaf_regs): Remove.
+ * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Cosmetics.
+ (order_regs_for_local_alloc): Rename as the above.
+ (LEAF_REGISTERS, LEAF_REG_REMAP, leaf_function): Remove.
+
+2023-01-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
+
+ * config/aarch64/aarch64-sve.md (aarch64_vec_duplicate_vq<mode>_le):
+ Change to define_insn_and_split to fold ldr+dup to ld1rq.
+ * config/aarch64/predicates.md (aarch64_sve_dup_ld1rq_operand): New.
+
+2023-01-14 Alexandre Oliva <oliva@adacore.com>
+
+ * hash-table.h (is_deleted): Precheck !is_empty.
+ (mark_deleted): Postcheck !is_empty.
+ (copy constructor): Test is_empty before is_deleted.
+
+2023-01-14 Alexandre Oliva <oliva@adacore.com>
+
+ PR target/40457
+ * config/arm/arm.md (movmisaligndi): Prefer aligned SImode
+ moves.
+
+2023-01-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR rtl-optimization/108274
+ * function.cc (thread_prologue_and_epilogue_insns): Also update the
+ DF information for calls in a few more cases.
+
+2023-01-13 John David Anglin <danglin@gcc.gnu.org>
+
+ * config/pa/pa-linux.h (TARGET_SYNC_LIBCALL): Delete define.
+ * config/pa/pa.cc (pa_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE
+ define.
+ * config/pa/pa.h (TARGET_SYNC_LIBCALLS): Use flag_sync_libcalls.
+ (MAX_SYNC_LIBFUNC_SIZE): Define.
+ (TARGET_CPU_CPP_BUILTINS): Define __SOFTFP__ when soft float is
+ enabled.
+ * config/pa/pa.md (atomic_storeqi): Emit __atomic_exchange_1
+ libcall when sync libcalls are disabled.
+ (atomic_storehi, atomic_storesi, atomic_storedi): Likewise.
+ (atomic_loaddi): Emit __atomic_load_8 libcall when sync libcalls
+ are disabled on 32-bit target.
+ * config/pa/pa.opt (matomic-libcalls): New option.
+ * doc/invoke.texi (HPPA Options): Update.
+
+2023-01-13 Alexander Monakov <amonakov@ispras.ru>
+
+ PR rtl-optimization/108117
+ PR rtl-optimization/108132
+ * sched-deps.cc (deps_analyze_insn): Do not schedule across
+ calls before reload.
+
+2023-01-13 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * common/config/arm/arm-common.cc (arm_canon_arch_option_1): Ignore cde
+ options for -mlibarch.
+ * config/arm/arm-cpus.in (begin cpu cortex-m55): Add cde options.
+ * doc/invoke.texi (CDE): Document options for Cortex-M55 CPU.
+
+2023-01-13 Qing Zhao <qing.zhao@oracle.com>
+
+ * attribs.cc (strict_flex_array_level_of): Move this function to ...
+ * attribs.h (strict_flex_array_level_of): Remove the declaration.
+ * gimple-array-bounds.cc (array_bounds_checker::check_array_ref):
+ replace the referece to strict_flex_array_level_of with
+ DECL_NOT_FLEXARRAY.
+ * tree.cc (component_ref_size): Likewise.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ PR target/55522
+ * config/arm/linux-eabi.h (ENDFILE_SPEC): Don't add
+ crtfastmath.o for -shared.
+ * config/arm/unknown-elf.h (STARTFILE_SPEC): Likewise.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ PR target/55522
+ * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Don't add
+ crtfastmath.o for -shared.
+ * config/aarch64/aarch64-freebsd.h (GNU_USER_TARGET_MATHFILE_SPEC):
+ Likewise.
+ * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATHFILE_SPEC):
+ Likewise.
+
+2023-01-13 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_dwarf_frame_reg_mode): New
+ function.
+ (TARGET_DWARF_FRAME_REG_MODE): Define.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ PR target/107209
+ * config/aarch64/aarch64.cc (aarch64_gimple_fold_builtin): Don't
+ update EH info on the fly.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/108387
+ * tree-ssa-sccvn.cc (visit_nary_op): Check for SSA_NAME
+ value before inserting expression into the tables.
+
2023-01-12 Andrew Pinski <apinski@marvell.com>
Roger Sayle <roger@nextmovesoftware.com>
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index e47d85a..dbdecdf 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230113
+20230115
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 8a6ebc1..959464a 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,22 @@
+2023-01-13 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/105273
+ * region-model.cc (has_nondefault_case_for_value_p): New.
+ (has_nondefault_cases_for_all_enum_values_p): New.
+ (region_model::apply_constraints_for_gswitch): Skip
+ implicitly-created "default" when switching on an enum
+ and all enum values have non-default cases.
+ (rejected_default_case::dump_to_pp): New.
+ * region-model.h (region_model_context::possibly_tainted_p): New
+ decl.
+ (class rejected_default_case): New.
+ * sm-taint.cc (region_model_context::possibly_tainted_p): New.
+ * supergraph.cc (switch_cfg_superedge::dump_label_to_pp): Dump
+ when implicitly_created_default_p.
+ (switch_cfg_superedge::implicitly_created_default_p): New.
+ * supergraph.h
+ (switch_cfg_superedge::implicitly_created_default_p): New decl.
+
2023-01-11 David Malcolm <dmalcolm@redhat.com>
PR analyzer/108252
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 3e0cc55..2e8804a 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,15 @@
+2023-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108365
+ * c-common.h (may_shorten_divmod): New static inline function.
+
+2023-01-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ * c-ada-spec.cc (is_float32): New function.
+ (is_float64): Likewise.
+ (is_float128): Tweak.
+ (dump_ada_node) <REAL_TYPE>: Call them to recognize more types.
+
2023-01-12 Lewis Hyatt <lhyatt@gmail.com>
PR preprocessor/108244
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 69ee9da..0a10d16 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,13 @@
+2023-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108365
+ * c-typeck.cc (build_binary_op): Use may_shorten_divmod for integral
+ division or modulo.
+
+2023-01-13 Qing Zhao <qing.zhao@oracle.com>
+
+ * c-decl.cc (strict_flex_array_level_of): ... here.
+
2023-01-11 Jakub Jelinek <jakub@redhat.com>
PR c/105972
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4f565b4..5c91d4b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2023-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108365
+ * typeck.cc (cp_build_binary_op): Use may_shorten_divmod for integral
+ division or modulo.
+
+2023-01-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108285
+ * cvt.cc (cp_convert_and_check): For EXCESS_PRECISION_EXPR
+ use its operand except that for warning purposes use the original
+ EXCESS_PRECISION_EXPR.
+ * call.cc (convert_like_internal): Only look through
+ EXCESS_PRECISION_EXPR when calling cp_convert, not when calling
+ cp_convert_and_check.
+
2023-01-09 Jakub Jelinek <jakub@redhat.com>
PR c++/105838
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 3210e34..e399204 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ * lto-lang.cc (lto_type_for_mode): Sync with
+ c_common_type_for_mode.
+
2023-01-04 Jan Hubicka <hubicka@ucw.cz>
* lto-partition.cc (may_need_named_section_p): Clones with no body
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 32cf1e4..c12b37a 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,15 @@
+2023-01-13 Iain Sandoe <iain@sandoe.co.uk>
+
+ * gm2-gcc/m2options.h (M2Options_SetVerbose): Export the
+ function.
+ * gm2-lang.cc: Handle OPT_v, passing it to the compiler.
+ * lang-specs.h: Pass -v to cc1gm2.
+
+2023-01-13 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * mc-boot-ch/GRTco.c (RTco_select): Add return 0.
+ * pge-boot/GRTco.c (RTco_select): Add return 0.
+
2023-01-10 Gaius Mulley <gaiusmod2@gmail.com>
* Make-lang.in (m2/mc-boot/$(SRC_PREFIX)%.o): Add
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index eec4ca1..a57ad0d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,117 @@
+2023-01-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
+
+ * gcc.target/aarch64/sve/acle/general/pr96463-2.c: Adjust.
+
+2023-01-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108365
+ * c-c++-common/pr108365.c: New test.
+ * g++.dg/opt/pr108365.C: New test.
+ * g++.dg/warn/pr108365.C: New test.
+
+2023-01-14 Alexandre Oliva <oliva@adacore.com>
+
+ PR target/42093
+ * gcc.target/arm/pr42093.c: Disable tree-dce.
+
+2023-01-13 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/105273
+ * gcc.dg/analyzer/switch-enum-1.c: New test.
+ * gcc.dg/analyzer/switch-enum-2.c: New test.
+ * gcc.dg/analyzer/switch-enum-pr105273-git-vreportf-2.c: New test.
+ * gcc.dg/analyzer/switch-enum-taint-1.c: New test.
+ * gcc.dg/analyzer/switch-wrong-enum.c: New test.
+ * gcc.dg/analyzer/torture/switch-enum-pr105273-doom-p_floor.c: New
+ test.
+ * gcc.dg/analyzer/torture/switch-enum-pr105273-doom-p_maputl.c:
+ New test.
+ * gcc.dg/analyzer/torture/switch-enum-pr105273-git-vreportf-1.c:
+ New test.
+
+2023-01-13 Alexander Monakov <amonakov@ispras.ru>
+
+ PR rtl-optimization/108117
+ PR rtl-optimization/108132
+ * gcc.dg/pr108117.c: New test.
+
+2023-01-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108285
+ * g++.dg/warn/pr108285.C: New test.
+
+2023-01-13 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * gm2/examples/map/pass/examples-map-pass.exp:
+ Call gm2_push_timeout 30 before foreach testcase.
+ Call gm2_pop_timeout after the foreach statement.
+ * gm2/pimlib/base/run/pass/pimlib-base-run-pass.exp:
+ Call gm2_push_timeout 20 before foreach testcase.
+ Call gm2_pop_timeout after the foreach statement.
+
+2023-01-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/107131
+ * gcc.c-torture/execute/pr107131.c: New test.
+
+2023-01-13 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * gcc.target/arm/multilib.exp: Add multilib tests for Cortex-M55 CPU.
+
+2023-01-13 Qing Zhao <qing.zhao@oracle.com>
+
+ * gcc.dg/Warray-bounds-flex-arrays-1.c: Delete the level information
+ from the message issued by -Wstrict-flex-arrays.
+ * gcc.dg/Warray-bounds-flex-arrays-2.c: Likewise.
+ * gcc.dg/Warray-bounds-flex-arrays-3.c: Likewise.
+ * gcc.dg/Warray-bounds-flex-arrays-4.c: Likewise.
+ * gcc.dg/Warray-bounds-flex-arrays-5.c: Likewise.
+ * gcc.dg/Warray-bounds-flex-arrays-6.c: Likewise.
+ * gcc.dg/Wstrict-flex-arrays-2.c: Likewise.
+ * gcc.dg/Wstrict-flex-arrays-3.c: Likewise.
+ * gcc.dg/Wstrict-flex-arrays.c: Likewise.
+
+2023-01-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/107131
+ * gcc.dg/pr107131.c: New test.
+
+2023-01-13 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/dwarf_reg_size_1.c: New test.
+ * gcc.target/aarch64/dwarf_reg_size_2.c: Likewise.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ * gcc.target/aarch64/pr107209.c: New test.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/108387
+ * gcc.dg/pr108387.c: New testcase.
+
+2023-01-13 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * gm2/coroutines/pim/run/pass/coroutines-pim-run-pass.exp
+ (timeout-dg.exp): Load.
+ Call gm2_push_timeout 15.
+ Call gm2_pop_timeout at the end.
+ * gm2/link/min/pass/link-min-pass.exp: Set path
+ argument to "".
+ * gm2/switches/whole-program/pass/run/switches-whole-program-pass-run.exp:
+ Call gm2_push_timeout 60.
+ Call gm2_pop_timeout at the end.
+ * lib/gm2-torture.exp (gm2_previous_timeout): Set to 10 or
+ individual_timeout.
+ Configure dejagnu to timeout for 10 seconds.
+ (gm2_push_timeout): New proc.
+ (gm2_pop_timeout): New proc.
+ * lib/gm2.exp (gm2_previous_timeout): Set to 10 or
+ individual_timeout.
+ Configure dejagnu to timeout for 10 seconds.
+ (gm2_push_timeout): New proc.
+ (gm2_pop_timeout): New proc.
+
2023-01-12 Gaius Mulley <gaiusmod2@gmail.com>
* lib/gm2.exp: Use timeout.exp.