summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r--src/base/abci/abc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 0eabe4c7..c8090460 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -27966,6 +27966,11 @@ int Abc_CommandAbc9Iso( Abc_Frame_t * pAbc, int argc, char ** argv )
return 1;
}
pAig = Gia_ManIsoReduce( pAbc->pGia, &vPosEquivs, fVerbose );
+ if ( pAig == NULL )
+ {
+ Abc_Print( -1, "Abc_CommandAbc9Iso(): Transformation has failed.\n" );
+ return 1;
+ }
// update the internal storage of PO equivalences
Abc_FrameReplacePoEquivs( pAbc, &vPosEquivs );
// update the AIG