mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 07:04:33 +08:00
Fix dot dump bug
From-SVN: r211746
This commit is contained in:
parent
72f4065c69
commit
90d0d8d3db
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user