aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>1998-09-08 00:29:35 +0000
committerJeff Law <law@gcc.gnu.org>1998-09-07 18:29:35 -0600
commita300b8d99432d03d58595799fe063ce0f92ca0b9 (patch)
tree70f176ebecd3be04faa26ac11a0c698bb19fb472 /gcc/local-alloc.c
parent4b877abdeccf1ddf63ab038c1c325b8c8123a3a2 (diff)
downloadgcc-a300b8d99432d03d58595799fe063ce0f92ca0b9.zip
gcc-a300b8d99432d03d58595799fe063ce0f92ca0b9.tar.gz
gcc-a300b8d99432d03d58595799fe063ce0f92ca0b9.tar.bz2
global.c: Update comments.
* 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. From-SVN: r22322
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 53a3b79..5dbde52 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"