summaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 16:11:23 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 16:11:23 +0000
commit55dabf9b9ac5d696b8fe863ebfc01014cdaa9ce9 (patch)
tree61850fefd5e1d039c1123285d69754a159ce108a /gcc/cgraphunit.c
parent10e20ba5c8568167a43fe1fbecc1454eeed39ba4 (diff)
downloadgcc-55dabf9b9ac5d696b8fe863ebfc01014cdaa9ce9.tar.gz
-fdump-pass implementation
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 614b7858a3f..66e7117b96e 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1117,6 +1117,9 @@ cgraph_finalize_compilation_unit (void)
fflush (stderr);
}
+ if (flag_dump_passes)
+ dump_passes ();
+
/* Gimplify and lower all functions, compute reachability and
remove unreachable nodes. */
cgraph_analyze_functions ();