2020-01-03 Martin Jambor <mjambor@suse.cz>
PR ipa/92917
* ipa-cp.c (print_all_lattices): Skip functions without info.
From-SVN: r279859
+2020-01-03 Martin Jambor <mjambor@suse.cz>
+
+ PR ipa/92917
+ * ipa-cp.c (print_all_lattices): Skip functions without info.
+
2020-01-03 Jakub Jelinek <jakub@redhat.com>
PR target/93089
class ipa_node_params *info;
info = IPA_NODE_REF (node);
- /* Skip constprop clones since we don't make lattices for them. */
- if (info->ipcp_orig_node)
+ /* Skip unoptimized functions and constprop clones since we don't make
+ lattices for them. */
+ if (!info || info->ipcp_orig_node)
continue;
fprintf (f, " Node: %s:\n", node->dump_name ());
count = ipa_get_param_count (info);