summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-06 21:33:46 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-06 21:33:46 +0000
commit53d712d97ec1168e74920b0658b9c33e788cd09e (patch)
treed8596b3dc187c74de7b6bee2be1ef96388be99f5 /gcc/diagnostic.c
parent3bd975bc00b481ce8aa5fd2ffd703c5653e6933b (diff)
downloadgcc-53d712d97ec1168e74920b0658b9c33e788cd09e.tar.gz
* diagnostic.c (announce_function): Move to toplev.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71146 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index c226815c42d..8d01a2b0561 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -279,23 +279,6 @@ diagnostic_action_after_output (diagnostic_context *context,
}
}
-/* Called when the start of a function definition is parsed,
- this function prints on stderr the name of the function. */
-void
-announce_function (tree decl)
-{
- if (!quiet_flag)
- {
- if (rtl_dump_and_exit)
- verbatim ("%s ", IDENTIFIER_POINTER (DECL_NAME (decl)));
- else
- verbatim (" %s", (*lang_hooks.decl_printable_name) (decl, 2));
- fflush (stderr);
- global_dc->printer->need_newline = true;
- diagnostic_set_last_function (global_dc);
- }
-}
-
/* The default function to print out name of current function that caused
an error. */
void