diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2003-09-06 21:33:46 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2003-09-06 21:33:46 +0000 |
commit | 0761f342c524819173182b1cb0ec75d02c2f709b (patch) | |
tree | d8596b3dc187c74de7b6bee2be1ef96388be99f5 /gcc/diagnostic.c | |
parent | c87ceb139fbfc3c9c45b24b84a75ee934616bba9 (diff) | |
download | gcc-0761f342c524819173182b1cb0ec75d02c2f709b.zip gcc-0761f342c524819173182b1cb0ec75d02c2f709b.tar.gz gcc-0761f342c524819173182b1cb0ec75d02c2f709b.tar.bz2 |
* diagnostic.c (announce_function): Move to toplev.c.
From-SVN: r71146
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index c226815..8d01a2b 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 |