[gcc(refs/vendors/redhat/heads/gcc-10-branch)] ipa: fix warning in ipa-prop.c
Jakub Jelinek
jakub@gcc.gnu.org
Thu Jan 30 20:52:00 GMT 2020
https://gcc.gnu.org/g:99eb1a824a69eb390bc104a1b91f901773866dd4
commit 99eb1a824a69eb390bc104a1b91f901773866dd4
Author: Jan Hubicka <jh@suse.cz>
Date: Tue Jan 28 22:44:36 2020 +0100
ipa: fix warning in ipa-prop.c
* ipa-prop.c (update_indirect_edges_after_inlining):
Diff:
---
gcc/ChangeLog | 4 ++++
gcc/ipa-prop.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8d60dcf..7346b2c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-01-28 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-prop.c (update_indirect_edges_after_inlining):
+
2020-01-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/93272
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 7b97154..a77130d 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -3787,7 +3787,7 @@ update_indirect_edges_after_inlining (struct cgraph_edge *cs,
param_index = ici->param_index;
jfunc = ipa_get_ith_jump_func (top, param_index);
- cgraph_node *spec_target;
+ cgraph_node *spec_target = NULL;
/* FIXME: This may need updating for multiple calls. */
if (ie->speculative)
More information about the Gcc-cvs
mailing list