summaryrefslogtreecommitdiff
path: root/gcc/ra-conflict.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ra-conflict.c')
-rw-r--r--gcc/ra-conflict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ra-conflict.c b/gcc/ra-conflict.c
index a4f9e5f4ea1..f97d9a89ee2 100644
--- a/gcc/ra-conflict.c
+++ b/gcc/ra-conflict.c
@@ -1220,7 +1220,7 @@ global_conflicts (void)
/* No need to record conflicts for call clobbered regs if we have
nonlocal labels around, as we don't ever try to allocate such
regs in this case. */
- if (! current_function_has_nonlocal_label)
+ if (! cfun->has_nonlocal_label)
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
if (call_used_regs [i])
record_one_conflict (allocnos_live, &hard_regs_live, i);