mirror of https://github.com/YosysHQ/abc.git
Compiler warnings.
This commit is contained in:
parent
2055b1b490
commit
732abf5b48
|
|
@ -13,6 +13,7 @@ lib/m114*
|
||||||
lib/bip*
|
lib/bip*
|
||||||
docs/
|
docs/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
.cache/
|
||||||
|
|
||||||
src/ext*
|
src/ext*
|
||||||
src/xxx/
|
src/xxx/
|
||||||
|
|
|
||||||
|
|
@ -510,7 +510,7 @@ private:
|
||||||
}
|
}
|
||||||
} while ( combinations_offset_next( free_set_size, offset, pComb, pInvPerm, tt ) );
|
} while ( combinations_offset_next( free_set_size, offset, pComb, pInvPerm, tt ) );
|
||||||
|
|
||||||
std::array<uint32_t, max_num_vars> res_perm;
|
std::array<uint32_t, max_num_vars> res_perm = {0};
|
||||||
|
|
||||||
if ( best_cost > ( 1 << ( ps.lut_size - free_set_size ) ) )
|
if ( best_cost > ( 1 << ( ps.lut_size - free_set_size ) ) )
|
||||||
{
|
{
|
||||||
|
|
@ -543,7 +543,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* enumerate combinations */
|
/* enumerate combinations */
|
||||||
std::array<uint32_t, max_num_vars> res_perm;
|
std::array<uint32_t, max_num_vars> res_perm = {0};
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,8 @@ int Fxu_PreprocessCubePairs( Fxu_Matrix * p, Vec_Ptr_t * vCovers, int nPairsTota
|
||||||
nBitsMax = nFanins;
|
nBitsMax = nFanins;
|
||||||
}
|
}
|
||||||
assert( iPair == nPairsTotal );
|
assert( iPair == nPairsTotal );
|
||||||
|
if ( nBitsMax == -1 )
|
||||||
|
nBitsMax = 0;
|
||||||
|
|
||||||
// allocate storage for counters of cube pairs by difference
|
// allocate storage for counters of cube pairs by difference
|
||||||
pnPairCounters = ABC_CALLOC( int, 2 * nBitsMax );
|
pnPairCounters = ABC_CALLOC( int, 2 * nBitsMax );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue