aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index d3f8fa6..66189d8 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -296,7 +296,7 @@ cgraph_edge (struct cgraph_node *node, tree call_stmt)
return e;
}
-/* Change call_smtt of edge E to NEW_STMT. */
+/* Change call_stmt of edge E to NEW_STMT. */
void
cgraph_set_call_stmt (struct cgraph_edge *e, tree new_stmt)
@@ -701,7 +701,7 @@ cgraph_node_name (struct cgraph_node *node)
/* Names used to print out the availability enum. */
const char * const cgraph_availability_names[] =
- {"unset", "not_available", "overwrittable", "available", "local"};
+ {"unset", "not_available", "overwritable", "available", "local"};
/* Dump call graph node NODE to file F. */
@@ -1038,7 +1038,7 @@ cgraph_add_new_function (tree fndecl, bool lowered)
switch (cgraph_state)
{
case CGRAPH_STATE_CONSTRUCTION:
- /* Just enqueue function to be processed at nearest occurence. */
+ /* Just enqueue function to be processed at nearest occurrence. */
node = cgraph_node (fndecl);
node->next_needed = cgraph_new_nodes;
if (lowered)