aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-01-19 18:23:39 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-01-19 18:23:39 -0500
commite19f519283e51a3fa1ef8b29008c7b4ad297e99b (patch)
tree2938784f426a5deb982d4ce903c73d2b0469ec13 /gcc/local-alloc.c
parent28edebac58063d9c67e10121dd9d56d3a7776dd2 (diff)
downloadgcc-e19f519283e51a3fa1ef8b29008c7b4ad297e99b.zip
gcc-e19f519283e51a3fa1ef8b29008c7b4ad297e99b.tar.gz
gcc-e19f519283e51a3fa1ef8b29008c7b4ad297e99b.tar.bz2
(find_free_reg): Add comment about nonlocal labels.
From-SVN: r3283
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 3b892c6..1ba5b1b 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