diff options
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 537c246..51e997c 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -637,7 +637,7 @@ tree_profiling (void) push_cfun (DECL_STRUCT_FUNCTION (node->decl)); - FOR_EACH_BB (bb) + FOR_EACH_BB_FN (bb, cfun) { gimple_stmt_iterator gsi; for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi)) |