From 35b4a2c553557b7b012edabf1bab805c74bd7892 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 15 Mar 2013 10:29:25 +0100 Subject: Fixed gcc warnings and added error handling to shell escape --- passes/scc/scc.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'passes') diff --git a/passes/scc/scc.cc b/passes/scc/scc.cc index e665fd09e..0dde3cbe8 100644 --- a/passes/scc/scc.cc +++ b/passes/scc/scc.cc @@ -73,6 +73,7 @@ struct SccWorker } if (cellLabels[cell].first == cellLabels[cell].second) + { if (cellStack.back() == cell) { cellStack.pop_back(); @@ -93,6 +94,7 @@ struct SccWorker sccList.push_back(scc); log("\n"); } + } } SccWorker(RTLIL::Design *design, RTLIL::Module *module, bool allCellTypes, int maxDepth) : design(design), module(module), sigmap(module) -- cgit v1.2.3