diff options
Diffstat (limited to 'gcc/tree-emutls.c')
-rw-r--r-- | gcc/tree-emutls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c index f0d7182254a..4595b1c0dd9 100644 --- a/gcc/tree-emutls.c +++ b/gcc/tree-emutls.c @@ -638,7 +638,7 @@ lower_emutls_function_body (struct cgraph_node *node) create a node for it. */ d.builtin_node = cgraph_get_create_node (d.builtin_decl); - FOR_EACH_BB (d.bb) + FOR_EACH_BB_FN (d.bb, cfun) { gimple_stmt_iterator gsi; unsigned int i, nedge; |