aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-sem.adb')
-rw-r--r--src/vhdl/vhdl-sem.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb
index acd69a86e..daa0395b3 100644
--- a/src/vhdl/vhdl-sem.adb
+++ b/src/vhdl/vhdl-sem.adb
@@ -497,6 +497,7 @@ package body Vhdl.Sem is
Location_Copy (Sig, Actual);
Set_Expression (Sig, Actual);
Set_Type (Sig, Get_Type (Formal));
+ Set_Expr_Staticness (Sig, None);
-- Declare it.
Add_Implicit_Declaration (Sig);
@@ -508,6 +509,7 @@ package body Vhdl.Sem is
Set_Referenced_Name (Res, Sig);
Set_Named_Entity (Res, Sig);
Set_Type (Res, Get_Type (Sig));
+ Set_Expr_Staticness (Res, None);
return Res;
end Sem_Insert_Anonymous_Signal;