aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-08-23 13:44:20 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-08-23 13:44:20 +0000
commit60591d4e4bb70526301501cfeb292639434baa3f (patch)
tree88fef090613210a00c28e97b0904826a83c20a32 /gcc/function.c
parent3767b2e4bebebeac612cc4c3210b43c31786a956 (diff)
downloadgcc-60591d4e4bb70526301501cfeb292639434baa3f.zip
gcc-60591d4e4bb70526301501cfeb292639434baa3f.tar.gz
gcc-60591d4e4bb70526301501cfeb292639434baa3f.tar.bz2
function.c (fndecl_name): Use verbosity 1 (no arguments) for lang_hooks.decl_printable_name.
2017-08-23 Richard Biener <rguenther@suse.de> * function.c (fndecl_name): Use verbosity 1 (no arguments) for lang_hooks.decl_printable_name. * print-rtl-function.c (print_rtx_function): Likewise. * tree-pretty-print.c (dump_function_header): Likewise. * g++.dg/cpp1y/constexpr-instantiate.C: Adjust. * g++.dg/tree-ssa/pr45605.C: Likewise. * gnat.dg/noinline2.ad: Likewise.b * gnat.dg/renaming6.ad: Likewise.b * gnat.dg/renaming6.ad: Likewise.s * gnat.dg/specs/noinline3.ad: Likewise.s From-SVN: r251308
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7fce0c5..41c4e1e 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -6259,7 +6259,7 @@ fndecl_name (tree fndecl)
{
if (fndecl == NULL)
return "(nofn)";
- return lang_hooks.decl_printable_name (fndecl, 2);
+ return lang_hooks.decl_printable_name (fndecl, 1);
}
/* Returns the name of function FN. */