From 475c8dad8ecbbe3cc1c864fb3462c83438184f6d Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 16 Sep 2023 07:13:10 +0800 Subject: [PATCH] Compiler problem. --- src/base/abci/abc.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 5a755ea1f..a1ee17305 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -7576,7 +7576,11 @@ int Abc_CommandAIGAugmentation( Abc_Frame_t * pAbc, int argc, char ** argv ) int Rand_Seed; //int sOpsOrder; size_t NtkSize; - char *DecisionFile; + char *DecisionFile = NULL; + Vec_Int_t *DecisionMask; + Vec_Int_t *pGain_rwr; + Vec_Int_t *pGain_res; + Vec_Int_t *pGain_ref; //FILE *maskFile; extern void Rwr_Precompute(); extern int Abc_NtkOrchRand( Abc_Ntk_t * pNtk, Vec_Int_t **pGain_rwr, Vec_Int_t **pGain_res,Vec_Int_t **pGain_ref, Vec_Int_t **DecisionMask, char *DecisionFile, int Rand_Seed, int fUseZeros_rwr, int fUseZeros_ref, int fPlaceEnable, int nCutsMax, int nNodesMax, int nLevelsOdc, int fUpdateLevel, int fVerbose, int fVeryVerbose, int nNodeSizeMax, int nConeSizeMax, int fUseDcs ); @@ -7665,15 +7669,9 @@ int Abc_CommandAIGAugmentation( Abc_Frame_t * pAbc, int argc, char ** argv ) } NtkSize = Abc_NtkObjNumMax(pNtk); - - - Vec_Int_t *DecisionMask = Vec_IntAlloc(1); + DecisionMask = Vec_IntAlloc(1); for (int i=0; i