]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ipa-profile.c
[PR 79108] Put ipa_node_params to GC memory
[thirdparty/gcc.git] / gcc / ipa-profile.c
index 3e9b2a915fcb163c50e9507d613a59ad711570bb..ae1ca2f37625102a08883542506aac8a0ae635a5 100644 (file)
@@ -621,7 +621,8 @@ ipa_profile (void)
                                 "and can be discarded.\n");
                    }
                  else if (ipa_node_params_sum && ipa_edge_args_vector
-                          && !IPA_NODE_REF (n2)->descriptors.is_empty ()
+                          && (!vec_safe_is_empty
+                              (IPA_NODE_REF (n2)->descriptors))
                           && ipa_get_param_count (IPA_NODE_REF (n2))
                              != ipa_get_cs_argument_count (IPA_EDGE_REF (e))
                            && (ipa_get_param_count (IPA_NODE_REF (n2))