diff options
author | Jan Hubicka <jh@suse.cz> | 2004-03-30 01:00:28 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-03-29 23:00:28 +0000 |
commit | 6868bb1cb1a3598357893bfe1bbf86fe33943930 (patch) | |
tree | dfd9be7e0bd9bd70880a5299885f6d0e59a4063c /gcc/passes.c | |
parent | 43537bf62f9e1eb15a0a5076a67377f6e69434c5 (diff) | |
download | gcc-6868bb1cb1a3598357893bfe1bbf86fe33943930.zip gcc-6868bb1cb1a3598357893bfe1bbf86fe33943930.tar.gz gcc-6868bb1cb1a3598357893bfe1bbf86fe33943930.tar.bz2 |
toplev.c (backend_init): Add missing call to inint_optimization_passes.
* toplev.c (backend_init): Add missing call to inint_optimization_passes.
* passes.c (init_optimization_passes, finish_optimization_passes): Output cgraph
dump file in non-unit-at-a-time mode.
From-SVN: r80066
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 5ee44d4..aa5cb86 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -2124,12 +2124,9 @@ rest_of_compilation (tree decl) void init_optimization_passes (void) { - if (flag_unit_at_a_time) - { - open_dump_file (DFI_cgraph, NULL); - cgraph_dump_file = dump_file; - dump_file = NULL; - } + open_dump_file (DFI_cgraph, NULL); + cgraph_dump_file = dump_file; + dump_file = NULL; } void @@ -2154,12 +2151,9 @@ finish_optimization_passes (void) timevar_pop (TV_DUMP); } - if (flag_unit_at_a_time) - { - dump_file = cgraph_dump_file; - cgraph_dump_file = NULL; - close_dump_file (DFI_cgraph, NULL, NULL_RTX); - } + dump_file = cgraph_dump_file; + cgraph_dump_file = NULL; + close_dump_file (DFI_cgraph, NULL, NULL_RTX); /* Do whatever is necessary to finish printing the graphs. */ if (graph_dump_format != no_graph) |