diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/passes.c | 1 | ||||
-rw-r--r-- | gcc/tree-pretty-print.c | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2820759..472fe00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-06-17 Xinliang David Li <davidxl@google.com> + + * tree-pretty-print.c (dump_function_header): Print cgraph uid. + * passes.c (pass_init_dump_file): Do not set initialize + flag to false unconditionally. + 2014-06-17 Richard Biener <rguenther@suse.de> * genopinit.c (main): Use vec<>::qsort method. diff --git a/gcc/passes.c b/gcc/passes.c index 4366251..4ddb84a 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1895,7 +1895,6 @@ verify_curr_properties (function *fn, void *data) bool pass_init_dump_file (opt_pass *pass) { - pass->graph_dump_initialized = false; /* If a dump file name is present, open it if enabled. */ if (pass->static_pass_number != -1) { diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index c5b4aee..3f6152f 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -3465,6 +3465,7 @@ dump_function_header (FILE *dump_file, tree fdecl, int flags) fprintf (dump_file, ", decl_uid=%d", DECL_UID (fdecl)); if (node) { + fprintf (dump_file, ", cgraph_uid=%d", node->uid); fprintf (dump_file, ", symbol_order=%d)%s\n\n", node->order, node->frequency == NODE_FREQUENCY_HOT ? " (hot)" |