diff options
author | Jan Hubicka <jh@suse.cz> | 2004-01-26 21:38:54 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-01-26 20:38:54 +0000 |
commit | 18874af693864a095fbf1d7ac881ac929e3a15b6 (patch) | |
tree | 5ede9aaaa19ff75941ea6917071fc6a96a8a2e1e /gcc/cselib.c | |
parent | 501f88de2f9cbec57d336e85bccbe6ce9ab4925b (diff) | |
download | gcc-18874af693864a095fbf1d7ac881ac929e3a15b6.zip gcc-18874af693864a095fbf1d7ac881ac929e3a15b6.tar.gz gcc-18874af693864a095fbf1d7ac881ac929e3a15b6.tar.bz2 |
cselib.c (discard_useless_values): Clear out value pointer pointing to datastructure to be recycled.
* cselib.c (discard_useless_values): Clear out value pointer pointing
to datastructure to be recycled.
From-SVN: r76666
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r-- | gcc/cselib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c index d4ce925..5c98b06 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--; |