This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
abc/abc-weaken-assert.patch
Jerry James 0eca8cf4f2 Update to latest git snapshot.
- Add -use-after-free, -null-fprintf, and -weaken-assert patches.
- Minor spec file cleanups.
2023-01-17 14:09:20 -07:00

11 lines
404 B
Diff

--- src/base/io/ioWritePla.c.orig 2022-10-19 06:05:56.000000000 -0600
+++ src/base/io/ioWritePla.c 2022-11-21 11:18:23.452898568 -0700
@@ -174,7 +174,7 @@ int Io_WritePla( Abc_Ntk_t * pNtk, char
FILE * pFile;
assert( Abc_NtkIsSopNetlist(pNtk) );
- assert( Abc_NtkLevel(pNtk) == 1 );
+ assert( Abc_NtkLevel(pNtk) <= 1 );
pFile = fopen( pFileName, "w" );
if ( pFile == NULL )