diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-25 18:16:21 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-25 18:16:21 -0700 |
commit | 017568aff39144a458b4ca0b3e08770fb8a91585 (patch) | |
tree | a27ba4cef8e53daf996bd7cbea5a299b734b5570 /src/sat/bmc | |
parent | dbaf28db1db21c7a5a8d76cbbaa1f1d316f03c68 (diff) | |
download | abc-017568aff39144a458b4ca0b3e08770fb8a91585.tar.gz abc-017568aff39144a458b4ca0b3e08770fb8a91585.tar.bz2 abc-017568aff39144a458b4ca0b3e08770fb8a91585.zip |
Compiler warnings.
Diffstat (limited to 'src/sat/bmc')
-rw-r--r-- | src/sat/bmc/bmcBmc3.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/sat/bmc/bmcBmc3.c b/src/sat/bmc/bmcBmc3.c index fe5d396b..a8604923 100644 --- a/src/sat/bmc/bmcBmc3.c +++ b/src/sat/bmc/bmcBmc3.c @@ -1427,9 +1427,13 @@ clkOther += Abc_Clock() - clk2; nOutDigits, i, f, nOutDigits, pPars->nFailOuts, nOutDigits, Saig_ManPoNum(pAig) ); if ( p->vCexes == NULL ) p->vCexes = Vec_PtrStart( Saig_ManPoNum(pAig) ); - pCexNew = (p->pPars->fUseBridge || pPars->fStoreCex) ? Abc_CexMakeTriv( Aig_ManRegNum(pAig), Saig_ManPiNum(pAig), Saig_ManPoNum(pAig), f*Saig_ManPoNum(pAig)+i ) : (void *)(ABC_PTRINT_T)1; + pCexNew = (p->pPars->fUseBridge || pPars->fStoreCex) ? Abc_CexMakeTriv( Aig_ManRegNum(pAig), Saig_ManPiNum(pAig), Saig_ManPoNum(pAig), f*Saig_ManPoNum(pAig)+i ) : (Abc_Cex_t *)(ABC_PTRINT_T)1; if ( p->pPars->fUseBridge ) + { Gia_ManToBridgeResult( stdout, 0, pCexNew, pCexNew->iPo ); + Abc_CexFree( pCexNew ); + pCexNew = (Abc_Cex_t *)(ABC_PTRINT_T)1; + } Vec_PtrWriteEntry( p->vCexes, i, pCexNew ); if ( pPars->pFuncOnFail && pPars->pFuncOnFail(i, pPars->fStoreCex ? (Abc_Cex_t *)Vec_PtrEntry(p->vCexes, i) : NULL) ) { @@ -1520,9 +1524,13 @@ nTimeSat += Abc_Clock() - clk2; nOutDigits, i, f, nOutDigits, pPars->nFailOuts, nOutDigits, Saig_ManPoNum(pAig) ); if ( p->vCexes == NULL ) p->vCexes = Vec_PtrStart( Saig_ManPoNum(pAig) ); - pCexNew = (p->pPars->fUseBridge || pPars->fStoreCex) ? Saig_ManGenerateCex( p, f, i ) : (void *)(ABC_PTRINT_T)1; + pCexNew = (p->pPars->fUseBridge || pPars->fStoreCex) ? Saig_ManGenerateCex( p, f, i ) : (Abc_Cex_t *)(ABC_PTRINT_T)1; if ( p->pPars->fUseBridge ) + { Gia_ManToBridgeResult( stdout, 0, pCexNew, pCexNew->iPo ); + Abc_CexFree( pCexNew ); + pCexNew = (Abc_Cex_t *)(ABC_PTRINT_T)1; + } Vec_PtrWriteEntry( p->vCexes, i, pCexNew ); if ( pPars->pFuncOnFail && pPars->pFuncOnFail(i, pPars->fStoreCex ? (Abc_Cex_t *)Vec_PtrEntry(p->vCexes, i) : NULL) ) { |