public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] Merge branch 'releases/gcc-12' into devel/omp/gcc-12 Date: Mon, 12 Dec 2022 14:26:15 +0000 (GMT) [thread overview] Message-ID: <20221212142615.D19D8385B523@sourceware.org> (raw) https://gcc.gnu.org/g:daf3af9e5b6da664115207a6dae3706d11cc4614 commit daf3af9e5b6da664115207a6dae3706d11cc4614 Merge: f9ea81c07e9 1a8af012222 Author: Tobias Burnus <tobias@codesourcery.com> Date: Mon Dec 12 13:20:32 2022 +0100 Merge branch 'releases/gcc-12' into devel/omp/gcc-12 Merge up to r12-8979-g1a8af012222a8386fcda16a61dc17f11ba9cfbfd (12th Dec 2022) Diff: gcc/ChangeLog | 20 ++++ gcc/DATESTAMP | 2 +- gcc/cfghooks.cc | 1 + gcc/common/config/i386/cpuinfo.h | 50 +++++----- gcc/config/i386/i386-builtins.cc | 60 ++++++------ gcc/d/ChangeLog | 15 +++ gcc/d/decl.cc | 12 ++- gcc/d/imports.cc | 14 +++ gcc/doc/extend.texi | 22 ++--- gcc/gimple-ssa-warn-access.cc | 52 ++++------ gcc/gimple-ssa-warn-alloca.cc | 1 + gcc/testsuite/ChangeLog | 18 ++++ gcc/testsuite/g++.dg/vect/pr107766.cc | 23 +++++ gcc/testsuite/gcc.dg/Wdangling-pointer-pr106868.c | 14 +++ gcc/testsuite/gcc.dg/pr107686.c | 16 ++++ gcc/testsuite/gcc.dg/torture/pr107407.c | 26 +++++ gcc/testsuite/gcc.dg/torture/pr107833.c | 33 +++++++ gcc/testsuite/gcc.dg/uninit-pr107839.c | 13 +++ gcc/testsuite/gcc.target/i386/builtin_target.c | 5 + gcc/testsuite/gcc.target/i386/pr107647.c | 17 ++++ gcc/testsuite/gdc.dg/imports/pr108050/mod1.d | 2 + gcc/testsuite/gdc.dg/imports/pr108050/mod2.d | 2 + gcc/testsuite/gdc.dg/imports/pr108050/package.d | 2 + gcc/testsuite/gdc.dg/pr108050.d | 4 + gcc/testsuite/gfortran.dg/graphite/pr107865.f90 | 18 ++++ gcc/tree-cfg.cc | 2 + gcc/tree-ssa-dse.cc | 17 ++-- gcc/tree-ssa-forwprop.cc | 6 +- gcc/tree-ssa-loop-im.cc | 24 ++++- gcc/tree-ssa-loop-ivopts.cc | 111 ---------------------- gcc/tree-ssa.cc | 93 ++++++++++++++++++ gcc/tree-ssa.h | 25 +++++ gcc/tree-vect-slp-patterns.cc | 15 ++- 33 files changed, 504 insertions(+), 231 deletions(-) diff --cc gcc/tree-ssa-loop-im.cc index 3e09bb19ed3,3926e5c14a4..99d0a0194da --- a/gcc/tree-ssa-loop-im.cc +++ b/gcc/tree-ssa-loop-im.cc @@@ -46,9 -46,8 +46,10 @@@ along with GCC; see the file COPYING3 #include "alias.h" #include "builtins.h" #include "tree-dfa.h" + #include "tree-ssa.h" #include "dbgcnt.h" +#include "graphite-oacc.h" +#include "internal-fn.h" /* TODO: Support for predicated code motion. I.e. @@@ -333,8 -332,8 +334,8 @@@ enum move_po because it may trap), return MOVE_PRESERVE_EXECUTION. Otherwise return MOVE_IMPOSSIBLE. */ - enum move_pos - movement_possibility (gimple *stmt, bool restrict_oacc_hoisting) + static enum move_pos -movement_possibility_1 (gimple *stmt) ++movement_possibility_1 (gimple *stmt, bool restrict_oacc_hoisting) { tree lhs; enum move_pos ret = MOVE_POSSIBLE; @@@ -436,6 -423,23 +437,23 @@@ return ret; } + static enum move_pos -movement_possibility (gimple *stmt) ++movement_possibility (gimple *stmt, bool restrict_oacc_hoisting) + { - enum move_pos pos = movement_possibility_1 (stmt); ++ enum move_pos pos = movement_possibility_1 (stmt, restrict_oacc_hoisting); + if (pos == MOVE_POSSIBLE) + { + use_operand_p use_p; + ssa_op_iter ssa_iter; + FOR_EACH_PHI_OR_STMT_USE (use_p, stmt, ssa_iter, SSA_OP_USE) + if (TREE_CODE (USE_FROM_PTR (use_p)) == SSA_NAME + && ssa_name_maybe_undef_p (USE_FROM_PTR (use_p))) + return MOVE_PRESERVE_EXECUTION; + } + return pos; + } + + /* Compare the profile count inequality of bb and loop's preheader, it is three-state as stated in profile-count.h, FALSE is returned if inequality cannot be decided. */
next reply other threads:[~2022-12-12 14:26 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-12 14:26 Tobias Burnus [this message] -- strict thread matches above, loose matches on Subject: below -- 2023-03-02 15:33 Tobias Burnus 2023-02-27 16:34 Tobias Burnus 2023-02-20 6:52 Tobias Burnus 2023-02-13 9:21 Tobias Burnus 2023-02-06 7:42 Tobias Burnus 2023-02-02 9:20 Tobias Burnus 2023-01-30 9:11 Tobias Burnus 2023-01-26 10:22 Tobias Burnus 2023-01-23 8:29 Tobias Burnus 2023-01-19 20:24 Tobias Burnus 2023-01-16 11:27 Tobias Burnus 2023-01-09 9:21 Tobias Burnus 2022-12-27 10:54 Tobias Burnus 2022-12-21 18:21 Tobias Burnus 2022-12-19 17:32 Tobias Burnus 2022-12-09 8:39 Tobias Burnus 2022-12-01 7:40 Tobias Burnus 2022-11-25 10:37 Tobias Burnus 2022-11-21 14:29 Tobias Burnus 2022-11-18 9:48 Tobias Burnus 2022-11-14 15:41 Tobias Burnus 2022-11-04 12:50 Tobias Burnus 2022-11-02 8:07 Tobias Burnus 2022-10-27 12:39 Tobias Burnus 2022-10-24 10:21 Tobias Burnus 2022-10-18 9:12 Tobias Burnus 2022-10-11 8:26 Tobias Burnus 2022-09-29 14:45 Tobias Burnus 2022-09-28 7:53 Tobias Burnus 2022-09-23 8:48 Tobias Burnus 2022-09-09 13:39 Tobias Burnus 2022-09-05 8:19 Tobias Burnus 2022-08-31 6:14 Tobias Burnus 2022-08-03 12:17 Tobias Burnus 2022-08-01 13:03 Tobias Burnus 2022-07-28 13:29 Tobias Burnus 2022-07-28 13:29 Tobias Burnus 2022-07-05 10:32 Tobias Burnus 2022-07-01 18:13 Kwok Yeung
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221212142615.D19D8385B523@sourceware.org \ --to=burnus@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).