From e19f519283e51a3fa1ef8b29008c7b4ad297e99b Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 19 Jan 1993 18:23:39 -0500 Subject: [PATCH] (find_free_reg): Add comment about nonlocal labels. From-SVN: r3283 --- gcc/local-alloc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 3b892c667c6..1ba5b1ba31f 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1997,6 +1997,10 @@ find_free_reg (class, mode, qty, accept_call_clobbered, just_try_suggested, born_index, dead_index); } + /* We need not check to see if the current function has nonlocal + labels because we don't put any pseudos that are live over calls in + registers in that case. */ + if (! accept_call_clobbered && flag_caller_saves && ! just_try_suggested