ipa: fix warning in ipa-prop.c
authorJan Hubicka <jh@suse.cz>
Tue, 28 Jan 2020 21:44:36 +0000 (22:44 +0100)
committerJan Hubicka <jh@suse.cz>
Tue, 28 Jan 2020 21:44:36 +0000 (22:44 +0100)
* ipa-prop.c (update_indirect_edges_after_inlining):

gcc/ChangeLog
gcc/ipa-prop.c

index 8d60dcf0864f4c44a1baf97a35bb5e47d034e807..7346b2c3b31ea6befdd3e28fe71a386aa1686734 100644 (file)
@@ -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
index 7b97154f5016c848bbde4b52d1f52d8c6d44fced..a77130ded397825a2f0948177539b26b140c4b1c 100644 (file)
@@ -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)