diff options
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r-- | bfd/elf32-spu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 2d2f2583d4..e94c70b9b5 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -3140,9 +3140,9 @@ remove_cycles (struct function_info *fun, callp = &fun->call_list; while ((call = *callp) != NULL) { + call->max_depth = depth + !call->is_pasted; if (!call->fun->visit2) { - call->max_depth = depth + !call->is_pasted; if (!remove_cycles (call->fun, info, &call->max_depth)) return FALSE; if (max_depth < call->max_depth) |