PR ipa/92498
* ipa-profile.c (check_argument_count): Do not ICE when descriptors
is NULL.
(ipa_profile): Fix reversed test.
From-SVN: r278157
+2019-11-13 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/92498
+ * ipa-profile.c (check_argument_count): Do not ICE when descriptors
+ is NULL.
+ (ipa_profile): Fix reversed test.
+
2019-11-13 Jan Hubicka <hubicka@ucw.cz>
* ipa-cp.c (ignore_edge_p): Do not check caller flags.
class ipa_node_params *info = IPA_NODE_REF (n->function_symbol ());
if (!info)
return true;
+ if (!info->descriptors)
+ return true;
ipa_edge_args *e_info = IPA_EDGE_REF (e);
if (!e)
return true;
"Not speculating: target is overwritable "
"and can be discarded.\n");
}
- else if (check_argument_count (n2, e))
+ else if (!check_argument_count (n2, e))
{
nmismatch++;
if (dump_file)