aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-11-27 00:16:19 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-11-27 00:16:19 +0000
commitf4ed2e3ae7d9d59b0e46b8648e9821654c47e0a2 (patch)
treea1ce88df839bbd32ba447b83c2e4d1774ad93908 /gcc
parent9e2e47391b316493b52fbb47b4b992b0863795dd (diff)
downloadgcc-f4ed2e3ae7d9d59b0e46b8648e9821654c47e0a2.zip
gcc-f4ed2e3ae7d9d59b0e46b8648e9821654c47e0a2.tar.gz
gcc-f4ed2e3ae7d9d59b0e46b8648e9821654c47e0a2.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog71
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog26
-rw-r--r--gcc/d/ChangeLog5
-rw-r--r--gcc/fortran/ChangeLog8
-rw-r--r--gcc/testsuite/ChangeLog35
6 files changed, 146 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 041c645..e1e381e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,74 @@
+2021-11-27 Martin Jambor <mjambor@suse.cz>
+
+ PR ipa/103441
+ * ipa-prop.c (ipcp_transform_function): Call
+ delete_unreachable_blocks_update_callgraph instead of returning
+ TODO_cleanup_cfg.
+
+2021-11-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * tree-object-size.c (object_sizes_grow, object_sizes_release,
+ object_sizes_unknown_p, object_sizes_get, object_size_set_force,
+ object_sizes_set): New functions.
+ (addr_object_size, compute_builtin_object_size,
+ expr_object_size, call_object_size, unknown_object_size,
+ merge_object_sizes, plus_stmt_object_size,
+ cond_expr_object_size, collect_object_sizes_for,
+ check_for_plus_in_loops_1, init_object_sizes,
+ fini_object_sizes): Adjust.
+
+2021-11-26 Siddhesh Poyarekar <siddhesh@gotplt.org>
+
+ * tree-object-size.c: New enum.
+ (object_sizes, computed, addr_object_size,
+ compute_builtin_object_size, expr_object_size, call_object_size,
+ merge_object_sizes, plus_stmt_object_size,
+ collect_object_sizes_for, init_object_sizes, fini_object_sizes,
+ object_sizes_execute): Replace magic numbers with enums.
+
+2021-11-26 Roger Sayle <roger@nextmovesoftware.com>
+
+ * tree-ssa-loop-ivopts.c (cand_value_at): Take a class
+ tree_niter_desc* argument instead of just a tree for NITER.
+ If we require the iv candidate value at the end of the final
+ loop iteration, try using the original loop bound as the
+ NITER for sufficiently simple loops.
+ (may_eliminate_iv): Update (only) call to cand_value_at.
+
+2021-11-26 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-modref.c (analyze_function): Drop parameter F and dump
+ cgraph node name rather than cfun name.
+ (modref_generate): Update.
+ (modref_summaries::insert):Update.
+ (modref_summaries_lto::insert):Update.
+ (pass_modref::execute):Update.
+ (ipa_merge_modref_summary_after_inlining): Improve combining of
+ ECF_FLAGS.
+
+2021-11-26 Jan Hubicka <jh@suse.cz>
+
+ PR ipa/102943
+ * ipa-modref.c (update_escape_summary_1): Fix handling of min_flags.
+
+2021-11-26 konglin1 <lingling.kong@intel.com>
+
+ PR target/102811
+ * config/i386/i386.c (ix86_can_change_mode_class): Allow 16 bit data in XMM register
+ for TARGET_SSE2.
+ * config/i386/i386.md (extendhfsf2): Add extenndhfsf2 for TARGET_F16C.
+ (extendhfdf2): Restrict extendhfdf for TARGET_AVX512FP16 only.
+ (*extendhf<mode>2): Rename from extendhf<mode>2.
+ (truncsfhf2): Likewise.
+ (truncdfhf2): Likewise.
+ (*trunc<mode>2): Likewise.
+
+2021-11-26 liuhongt <hongtao.liu@intel.com>
+
+ PR middle-end/103419
+ * match.pd: Fix typo, use the type of second parameter, not
+ first one.
+
2021-11-25 Jan Hubicka <jh@suse.cz>
* ipa-cp.c (ipa_value_range_from_jfunc): Remove forgotten early return.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 045d8fc..22f794c 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20211126
+20211127
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 6ac1e3d..f1995bd 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,29 @@
+2021-11-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102753
+ * cp-tree.h (struct ptrmem_cst): Add locus member.
+ (PTRMEM_CST_LOCATION): Define.
+ * tree.c (make_ptrmem_cst): Set PTRMEM_CST_LOCATION to input_location.
+ (cp_expr_location): Return PTRMEM_CST_LOCATION for PTRMEM_CST.
+ * typeck.c (build_x_unary_op): Overwrite PTRMEM_CST_LOCATION for
+ PTRMEM_CST instead of calling maybe_wrap_with_location.
+ (cp_build_addr_expr_1): Don't diagnose taking address of
+ immediate functions here. Instead when taking their address make
+ sure the returned ADDR_EXPR has EXPR_LOCATION set.
+ (expand_ptrmemfunc_cst): Copy over PTRMEM_CST_LOCATION to ADDR_EXPR's
+ EXPR_LOCATION.
+ (convert_for_assignment): Use cp_expr_loc_or_input_loc instead of
+ EXPR_LOC_OR_LOC.
+ * pt.c (tsubst_copy): Use build1_loc instead of build1. Ensure
+ ADDR_EXPR of immediate function has EXPR_LOCATION set.
+ * cp-gimplify.c (cp_fold_r): Diagnose taking address of immediate
+ functions here. For consteval if don't walk THEN_CLAUSE.
+ (cp_genericize_r): Move evaluation of calls to
+ std::source_location::current from here to...
+ (cp_fold): ... here. Don't assert calls to immediate functions must
+ be source_location_current_p, instead only constant evaluate
+ calls to source_location_current_p.
+
2021-11-25 Jakub Jelinek <jakub@redhat.com>
PR c++/101180
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index d04102a..999f254 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -1,3 +1,8 @@
+2021-11-26 Martin Liska <mliska@suse.cz>
+
+ * d-attribs.cc (parse_optimize_options): Check index before
+ accessing cl_options.
+
2021-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
* decl.cc (d_finish_decl): Use HOST_WIDE_INT for type size
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index ab6584c..3dffc50 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,11 @@
+2021-11-26 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103411
+ * check.c (gfc_check_reshape): Improve check of size of source
+ array for the RESHAPE intrinsic against the given shape when pad
+ is not given, and shape is a parameter. Try other simplifications
+ of shape.
+
2021-11-23 Harald Anlauf <anlauf@gmx.de>
PR fortran/103392
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3f1741e..182c649 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,38 @@
+2021-11-26 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/103411
+ * gfortran.dg/pr68153.f90: Adjust test to improved check.
+ * gfortran.dg/reshape_7.f90: Likewise.
+ * gfortran.dg/reshape_9.f90: New test.
+
+2021-11-26 Roger Sayle <roger@nextmovesoftware.com>
+
+ * gcc.dg/wrapped-binop-simplify.c: Update expected test result.
+ * gcc.dg/tree-ssa/ivopts-5.c: New test case.
+ * gcc.dg/tree-ssa/ivopts-6.c: New test case.
+ * gcc.dg/tree-ssa/ivopts-7.c: New test case.
+ * gcc.dg/tree-ssa/ivopts-8.c: New test case.
+ * gcc.dg/tree-ssa/ivopts-9.c: New test case.
+
+2021-11-26 Jan Hubicka <hubicka@ucw.cz>
+
+ * gcc.dg/ipa/inline-9.c: Update template.c
+
+2021-11-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/102753
+ * g++.dg/cpp2a/consteval20.C: Add some extra tests.
+ * g++.dg/cpp2a/consteval23.C: Likewise.
+ * g++.dg/cpp2a/consteval25.C: New test.
+ * g++.dg/cpp2a/srcloc20.C: New test.
+
+2021-11-26 konglin1 <lingling.kong@intel.com>
+
+ PR target/102811
+ * gcc.target/i386/pr90773-21.c: Allow pextrw instead of movw.
+ * gcc.target/i386/pr90773-23.c: Ditto.
+ * gcc.target/i386/avx512vl-vcvtps2ph-pr102811.c: New test.
+
2021-11-25 Jan Hubicka <jh@suse.cz>
* gcc.dg/ipa/inline10.c: New test.