aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-05-16 21:39:22 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-05-16 21:39:22 +0000
commit6c7571a29aa419fd99e6d17ca3609697659db22b (patch)
tree8cfd27ce7d54a1467ee84cff8970f42b65c995bb /gcc/tree-cfg.c
parentcac363bc3c6052afb2f9e67675488a3e17652df1 (diff)
downloadgcc-6c7571a29aa419fd99e6d17ca3609697659db22b.zip
gcc-6c7571a29aa419fd99e6d17ca3609697659db22b.tar.gz
gcc-6c7571a29aa419fd99e6d17ca3609697659db22b.tar.bz2
Revert r209902 "Dump the return type of functions in gimple dumps"
This commit reverts r209902 aka 1f09cb43ee8e199dca339233fb1b92b7ffdbc660 due to issues described in https://gcc.gnu.org/ml/gcc-patches/2014-05/msg01271.html gcc/ 2014-05-16 David Malcolm <dmalcolm@redhat.com> Revert: 2014-04-29 David Malcolm <dmalcolm@redhat.com> * tree-cfg.c (dump_function_to_file): Dump the return type of functions, in a line to itself before the function body, mimicking the layout of a C function. gcc/testsuite 2014-05-16 David Malcolm <dmalcolm@redhat.com> Revert: 2014-04-29 David Malcolm <dmalcolm@redhat.com> * gcc.dg/tree-ssa/pr23401.c: Update the expected number of occurrences of "int" in the gimple dump to reflect that the return types of functions now show up in such dumps. * gcc.dg/tree-ssa/pr27810.c: Likewise. From-SVN: r210533
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 9228d41..9be04fe 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -7089,12 +7089,6 @@ dump_function_to_file (tree fndecl, FILE *file, int flags)
struct function *fun = DECL_STRUCT_FUNCTION (fndecl);
current_function_decl = fndecl;
-
- /* Print the return type of the function: */
- print_generic_expr (file, TREE_TYPE (TREE_TYPE (fun->decl)),
- dump_flags | TDF_SLIM);
- fprintf (file, "\n");
-
fprintf (file, "%s %s(", function_name (fun), tmclone ? "[tm-clone] " : "");
arg = DECL_ARGUMENTS (fndecl);