aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.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/tree-pretty-print.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/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index c7509af..14c7caa 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -4047,7 +4047,7 @@ dump_function_header (FILE *dump_file, tree fdecl, dump_flags_t flags)
struct cgraph_node *node = cgraph_node::get (fdecl);
struct function *fun = DECL_STRUCT_FUNCTION (fdecl);
- dname = lang_hooks.decl_printable_name (fdecl, 2);
+ dname = lang_hooks.decl_printable_name (fdecl, 1);
if (DECL_ASSEMBLER_NAME_SET_P (fdecl))
aname = (IDENTIFIER_POINTER