* elf32-spu.c (remove_cycles): Always set call->max_depth.
This commit is contained in:
parent
2ea2f3c642
commit
25076afa95
@ -1,3 +1,7 @@
|
|||||||
|
2009-01-13 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf32-spu.c (remove_cycles): Always set call->max_depth.
|
||||||
|
|
||||||
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
|
* elf32-spu.c (spu_elf_auto_overlay): Correct vma mask.
|
||||||
|
@ -3140,9 +3140,9 @@ remove_cycles (struct function_info *fun,
|
|||||||
callp = &fun->call_list;
|
callp = &fun->call_list;
|
||||||
while ((call = *callp) != NULL)
|
while ((call = *callp) != NULL)
|
||||||
{
|
{
|
||||||
|
call->max_depth = depth + !call->is_pasted;
|
||||||
if (!call->fun->visit2)
|
if (!call->fun->visit2)
|
||||||
{
|
{
|
||||||
call->max_depth = depth + !call->is_pasted;
|
|
||||||
if (!remove_cycles (call->fun, info, &call->max_depth))
|
if (!remove_cycles (call->fun, info, &call->max_depth))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (max_depth < call->max_depth)
|
if (max_depth < call->max_depth)
|
||||||
|
Loading…
Reference in New Issue
Block a user