Skip to content

Commit

Permalink
Fix dot dump bug
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211746 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
davidxl committed Jun 17, 2014
1 parent 634a5ad commit 50d9ae6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion gcc/passes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
1 change: 1 addition & 0 deletions gcc/tree-pretty-print.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 50d9ae6

Please sign in to comment.