aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/translate/trans.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/translate/trans.adb')
-rw-r--r--src/vhdl/translate/trans.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans.adb b/src/vhdl/translate/trans.adb
index 053d2335e..d41458d08 100644
--- a/src/vhdl/translate/trans.adb
+++ b/src/vhdl/translate/trans.adb
@@ -1229,7 +1229,7 @@ package body Trans is
return Mnode is
begin
if Is_Complex_Type (Info)
- and then Info.Type_Mode /= Type_Mode_Fat_Array
+ and then Info.Type_Mode not in Type_Mode_Unbounded
then
-- For a complex and constrained object, we just allocate
-- a pointer to the object.