summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-08 00:29:35 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-08 00:29:35 +0000
commit0b6b86e7b8afcd597a2bd674426081b091b0dff1 (patch)
tree70f176ebecd3be04faa26ac11a0c698bb19fb472 /gcc/local-alloc.c
parentcd547500b3d5d2ea36a45198fa2c03cf86cf8fb0 (diff)
downloadgcc-0b6b86e7b8afcd597a2bd674426081b091b0dff1.tar.gz
* global.c: Update comments.
(global_alloc): Assign allocation-numbers even for registers allocated by local_alloc in case they are later spilled and retry_global_alloc is called. (mark_reg_store, mark_reg_clobber, mark_reg_conflicts, mark_reg_death): Always record a conflict with a pseudo register even if it has been assigned to a hard register. (dump_conflicts): Don't list pseudo registers already assigned to a hard register as needing to be allocated, but do list their conflicts. * local-alloc.c: Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22322 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 53a3b797261..5dbde5218f8 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -55,8 +55,8 @@ Boston, MA 02111-1307, USA. */
But this is currently disabled since tying in global_alloc is not
yet implemented. */
-/* Pseudos allocated here cannot be reallocated by global.c if the hard
- register is used as a spill register. So we don't allocate such pseudos
+/* Pseudos allocated here can be reallocated by global.c if the hard register
+ is used as a spill register. Currently we don't allocate such pseudos
here if their preferred class is likely to be used by spills. */
#include "config.h"