* gimplify.c (flag_instrument_functions_exclude_p): Include
namespace/class information in the printable name.
* opts.c (add_comma_separated_to_vector): Add NUL terminator
to tokens entered into the vector.
From-SVN: r273766
+2019-07-24 Oliver Browne <oliverbrowne62@gmail.com>
+
+ * gimplify.c (flag_instrument_functions_exclude_p): Include
+ namespace/class information in the printable name.
+ * opts.c (add_comma_separated_to_vector): Add NUL terminator
+ to tokens entered into the vector.
+
2019-07-24 Eric Botcazou <ebotcazou@adacore.com>
* tree-nested.c (build_simple_mem_ref_notrap): New function.
int i;
char *s;
- name = lang_hooks.decl_printable_name (fndecl, 0);
+ name = lang_hooks.decl_printable_name (fndecl, 1);
FOR_EACH_VEC_ELT (*v, i, s)
if (strstr (name, s) != NULL)
return true;
else
*w++ = *r++;
}
+
+ *w = '\0';
if (*token_start != '\0')
v->safe_push (token_start);