aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorOliver Browne <oliverbrowne62@gmail.com>2019-07-24 18:08:51 +0000
committerJeff Law <law@gcc.gnu.org>2019-07-24 12:08:51 -0600
commitefab3e3a7326ad503532955ccd31f953851e388a (patch)
tree335ac18f5948d8900ffb1b34d5bd8c775a17d508 /gcc/gimplify.c
parent58f3f2c397133235dd7cce69f4a93561005fe391 (diff)
downloadgcc-efab3e3a7326ad503532955ccd31f953851e388a.zip
gcc-efab3e3a7326ad503532955ccd31f953851e388a.tar.gz
gcc-efab3e3a7326ad503532955ccd31f953851e388a.tar.bz2
gimplify.c (flag_instrument_functions_exclude_p): Include namespace/class information in the printable name.
* 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
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index 723897f..a40c7ce 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -14354,7 +14354,7 @@ flag_instrument_functions_exclude_p (tree fndecl)
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;