diff options
Diffstat (limited to 'sem_types.adb')
-rw-r--r-- | sem_types.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sem_types.adb b/sem_types.adb index 7a2cb68..8c4c5a4 100644 --- a/sem_types.adb +++ b/sem_types.adb @@ -373,6 +373,9 @@ package body Sem_Types is Set_Range_Constraint (Sub_Type, Phys_Range); -- This must be locally... Set_Type_Staticness (Sub_Type, Get_Expr_Staticness (Range_Expr1)); + + -- FIXME: the original range is not used. Reuse it ? + Free_Iir (Range_Expr); end; end if; Set_Resolved_Flag (Sub_Type, False); |