diff options
Diffstat (limited to 'gcc/tree-ssa-uncprop.c')
-rw-r--r-- | gcc/tree-ssa-uncprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c index 7d863a7..98cc79e 100644 --- a/gcc/tree-ssa-uncprop.c +++ b/gcc/tree-ssa-uncprop.c @@ -184,7 +184,7 @@ associate_equivalences_with_edges (void) for (i = 0; i < n_labels; i++) { tree label = gimple_switch_label (switch_stmt, i); - basic_block bb = label_to_block (CASE_LABEL (label)); + basic_block bb = label_to_block (cfun, CASE_LABEL (label)); if (CASE_HIGH (label) || !CASE_LOW (label) |