Projects
openEuler:24.03:SP1:Everything
gcc
_service:tar_scm:0091-IPA-Bugfix-Fix-fails-in-I...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0091-IPA-Bugfix-Fix-fails-in-IPA-prefetch-src-openEuler-g.patch of Package gcc
From b84a896e2df214b08d6519a097cc410d3e582add Mon Sep 17 00:00:00 2001 From: Diachkov Ilia <diachkov.ilia1@huawei-partners.com> Date: Wed, 8 May 2024 21:28:32 +0800 Subject: [PATCH 2/4] [IPA][Bugfix] Fix fails in IPA prefetch (src-openEuler/gcc: I9J6N6) --- gcc/ipa-prefetch.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ipa-prefetch.cc b/gcc/ipa-prefetch.cc index 1ceb5137f..94290ea9c 100644 --- a/gcc/ipa-prefetch.cc +++ b/gcc/ipa-prefetch.cc @@ -1432,8 +1432,14 @@ remap_gimple_op_r (tree *tp, int *walk_subtrees, void *data) TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old); TREE_NO_WARNING (*tp) = TREE_NO_WARNING (old); - /* TODO: maybe support this case. */ - gcc_assert (MR_DEPENDENCE_CLIQUE (old) == 0); + if (MR_DEPENDENCE_CLIQUE (old) != 0) + { + MR_DEPENDENCE_CLIQUE (*tp) = MR_DEPENDENCE_CLIQUE (old); + MR_DEPENDENCE_BASE (*tp) = MR_DEPENDENCE_BASE (old); + if (dump_file) + fprintf (dump_file, "Copy clique=%d base=%d info.\n", + MR_DEPENDENCE_CLIQUE (old), MR_DEPENDENCE_BASE (old)); + } /* We cannot propagate the TREE_THIS_NOTRAP flag if we have remapped a parameter as the property might be valid only for the parameter itself. */ -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2