diff options
-rw-r--r-- | iirs_utils.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iirs_utils.adb b/iirs_utils.adb index 6099da9..5bc35fb 100644 --- a/iirs_utils.adb +++ b/iirs_utils.adb @@ -270,6 +270,7 @@ package body Iirs_Utils is procedure Add_Dependence (Target: Iir_Design_Unit; Unit: Iir) is begin + -- Do not add self-dependency if Unit = Target then return; end if; |