summaryrefslogtreecommitdiff
path: root/gcc/ipa-cp.c
diff options
context:
space:
mode:
authorFeng Xue <fxue@os.amperecomputing.com>2020-01-19 15:49:44 +0800
committerFeng Xue <fxue@os.amperecomputing.com>2020-01-25 22:18:18 +0800
commit98dd8c97e44ee8134cecf681045b715a8a73c7cd (patch)
tree6b9b76023b5616842ea59f860062674a3826868c /gcc/ipa-cp.c
parent53d172975f269138ba227f6d4560950265c36df8 (diff)
Remove assertion in get_info_about_necessary_edges
2020-01-25 Feng Xue <fxue@os.amperecomputing.com> PR ipa/93166 * ipa-cp.c (get_info_about_necessary_edges): Remove value check assertion. PR ipa/93166 * g++.dg/pr93166.C: New test.
Diffstat (limited to 'gcc/ipa-cp.c')
-rw-r--r--gcc/ipa-cp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 17da1d8e8a7..e762abb896d 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -4175,9 +4175,6 @@ get_info_about_necessary_edges (ipcp_value<valtype> *val, cgraph_node *dest,
hot |= cs->maybe_hot_p ();
if (cs->caller != dest)
non_self_recursive = true;
- else if (src->val)
- gcc_assert (values_equal_for_ipcp_p (src->val->value,
- val->value));
}
cs = get_next_cgraph_edge_clone (cs);
}