From: Clifford Wolf Date: Sun, 28 Dec 2014 20:26:36 +0000 (+0100) Subject: bugfix in opt_share X-Git-Tag: yosys-0.5~200 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=951c72ba52be44f9a3133c6ab3af56bdb92087ac;p=yosys.git bugfix in opt_share --- diff --git a/passes/opt/opt_share.cc b/passes/opt/opt_share.cc index c581b749e..66e29b66a 100644 --- a/passes/opt/opt_share.cc +++ b/passes/opt/opt_share.cc @@ -270,6 +270,7 @@ struct OptShareWorker } } log(" Removing %s cell `%s' from module `%s'.\n", cell->type.c_str(), cell->name.c_str(), module->name.c_str()); + cell_hash_cache.erase(cell); module->remove(cell); total_count++; } else {