aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-12-08 20:34:12 +0100
committerTristan Gingold <tgingold@free.fr>2016-12-08 20:34:12 +0100
commit9fb8b565e201edf9d8727159eeef3c40553219e3 (patch)
treec980c53f6c421c1ca85049c8eb7701efa2ec3b14 /src
parente7f223da0ad86e2e00074302256aa43b43a83e9c (diff)
downloadghdl-9fb8b565e201edf9d8727159eeef3c40553219e3.tar.gz
ghdl-9fb8b565e201edf9d8727159eeef3c40553219e3.tar.bz2
ghdl-9fb8b565e201edf9d8727159eeef3c40553219e3.zip
Set pure on implicit interface function.
Fix #204
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/sem_decls.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/sem_decls.adb b/src/vhdl/sem_decls.adb
index 8d3c15587..e75092a33 100644
--- a/src/vhdl/sem_decls.adb
+++ b/src/vhdl/sem_decls.adb
@@ -444,6 +444,7 @@ package body Sem_Decls is
Set_Return_Type (Operation, Return_Type);
Set_Identifier (Operation, Name);
Set_Visible_Flag (Operation, True);
+ Set_Pure_Flag (Operation, True);
Compute_Subprogram_Hash (Operation);
return Operation;
end Create_Implicit_Interface_Function;