OSDN Git Service

Patch by Tomas Bily <tbily@suse.cz>
[pf3gnuchains/gcc-fork.git] / gcc / cgraphunit.c
index 5a0b9a9..055399e 100644 (file)
@@ -444,6 +444,7 @@ cgraph_finalize_function (tree decl, bool nested)
   if (node->local.finalized)
     cgraph_reset_node (node);
 
+  node->pid = cgraph_max_pid ++;
   notice_global_symbol (decl);
   node->decl = decl;
   node->local.finalized = true;