projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e9156
)
* ra-colorize.c (merge_moves): Fix list handling.
author
Michael Matz
<matz@gcc.gnu.org>
Wed, 26 Feb 2003 12:36:18 +0000
(12:36 +0000)
committer
Michael Matz
<matz@gcc.gnu.org>
Wed, 26 Feb 2003 12:36:18 +0000
(12:36 +0000)
From-SVN: r63468
gcc/ra-colorize.c
patch
|
blob
|
history
diff --git
a/gcc/ra-colorize.c
b/gcc/ra-colorize.c
index 074f7356dac95b4e2b9a54c931a3b6ccedaa1fd9..359dfd86126524477b5a9632ca1d6488f00dc8ef 100644
(file)
--- a/
gcc/ra-colorize.c
+++ b/
gcc/ra-colorize.c
@@
-534,13
+534,14
@@
merge_moves (u, v)
struct web *u, *v;
{
regset seen;
- struct move_list *ml;
+ struct move_list *ml
, *ml_next
;
seen = BITMAP_XMALLOC ();
for (ml = u->moves; ml; ml = ml->next)
bitmap_set_bit (seen, INSN_UID (ml->move->insn));
- for (ml = v->moves; ml; ml = ml
->
next)
+ for (ml = v->moves; ml; ml = ml
_
next)
{
+ ml_next = ml->next;
if (! bitmap_bit_p (seen, INSN_UID (ml->move->insn)))
{
ml->next = u->moves;