aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 6c31507..61a8e23 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -473,6 +473,7 @@ cgraph_create_node_1 (void)
{
struct cgraph_node *node = cgraph_allocate_node ();
+ node->symbol.type = SYMTAB_FUNCTION;
node->next = cgraph_nodes;
node->order = cgraph_order++;
if (cgraph_nodes)