Corrected a subtle but very bad compiler-dependent error in the

extflat code;  failure to provide a forward external reference
to EFHNBest() resulted in a failure to correctly evaluate a
boolean expression.  That resulted in a failure to merge
hierarchical nodes during ext2spice, resulting in an incorrect
netlist with single nodes broken up into pieces.
This commit is contained in:
Tim Edwards 2020-12-21 14:22:24 -05:00
parent a660d73d5a
commit 47f37cc13a
2 changed files with 2 additions and 1 deletions

View File

@ -286,6 +286,7 @@ extern Def *EFRootDef();
/* HierName manipulation */ /* HierName manipulation */
extern HierName *efHNFromUse(); extern HierName *efHNFromUse();
extern char *efHNToStrFunc(); extern char *efHNToStrFunc();
extern bool EFHNBest();
/* Functions for hashing of HierNames */ /* Functions for hashing of HierNames */
extern int efHNCompare(); extern int efHNCompare();

View File

@ -66,7 +66,7 @@ bool efDevKilled();
* (*subProc)(use, hierName, is_top) * (*subProc)(use, hierName, is_top)
* Use *use; * Use *use;
* HierName *hierName; * HierName *hierName;
* Boolean is_top; * bool is_top;
* { * {
* } * }
* *