From 663fb6892e9f03aa1e4a74494b85c22e55bfd13e Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 26 Jan 2004 20:38:54 +0000 Subject: * cselib.c (discard_useless_values): Clear out value pointer pointing to datastructure to be recycled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76666 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cselib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cselib.c') diff --git a/gcc/cselib.c b/gcc/cselib.c index d4ce925db5b..5c98b067f4d 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -332,6 +332,7 @@ discard_useless_values (void **x, void *info ATTRIBUTE_UNUSED) if (v->locs == 0) { + CSELIB_VAL_PTR (v->u.val_rtx) = NULL; htab_clear_slot (hash_table, x); unchain_one_value (v); n_useless_values--; -- cgit v1.2.1