summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-10 08:20:37 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-10 08:20:37 +0000
commit121f3051bd4184274fc0bb0f727eab019a65fd98 (patch)
treee470b384aebdcae27074d3368738711eddd6bf03 /gcc/toplev.c
parent8001abc8ca9e5ecdb5eeff380bd893053808b051 (diff)
downloadgcc-121f3051bd4184274fc0bb0f727eab019a65fd98.tar.gz
2004-09-10 Paolo Bonzini <bonzini@gnu.org>
* cgraph.h (cgraph_dump_file): Do not declare. * cgraphunit.c (cgraph_dump_file): Declare as static. (init_cgraph): New. * toplev.c (cgraph_dump_file): Do not declare. (compile_file): Call init_cgraph. * tree-dump.c (dump_files): Add IPA dump file, remove XML dump of call graph. (get_dump_file_name): Support IPA dump file naming scheme. * tree.h (enum tree_dump_index): Add IPA dump file, remove XML dump of call graph. * doc/invoke.texi (Debugging Options): Document the new options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index eeb111df3c5..c3cae64b296 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -418,7 +418,6 @@ int warn_return_type;
FILE *asm_out_file;
FILE *aux_info_file;
FILE *dump_file = NULL;
-FILE *cgraph_dump_file = NULL;
char *dump_file_name;
/* The current working directory of a translation. It's generally the
@@ -978,6 +977,7 @@ compile_file (void)
{
/* Initialize yet another pass. */
+ init_cgraph ();
init_final (main_input_filename);
coverage_init (aux_base_name);