diff options
Diffstat (limited to 'src/vhdl/translate')
-rw-r--r-- | src/vhdl/translate/ortho_front.adb | 2 | ||||
-rw-r--r-- | src/vhdl/translate/trans-chap7.adb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vhdl/translate/ortho_front.adb b/src/vhdl/translate/ortho_front.adb index 46f303348..2c3da3189 100644 --- a/src/vhdl/translate/ortho_front.adb +++ b/src/vhdl/translate/ortho_front.adb @@ -391,7 +391,7 @@ package body Ortho_Front is Design := Get_First_Design_Unit (New_Design_File); while not Is_Null (Design) loop Sem.Sem_Analysis_Checks_List - (Design, Flags.Warn_Delayed_Checks); + (Design, Is_Warning_Enabled (Warnid_Delayed_Checks)); Design := Get_Chain (Design); end loop; diff --git a/src/vhdl/translate/trans-chap7.adb b/src/vhdl/translate/trans-chap7.adb index 8706dd3b3..e1ae36901 100644 --- a/src/vhdl/translate/trans-chap7.adb +++ b/src/vhdl/translate/trans-chap7.adb @@ -3784,7 +3784,8 @@ package body Trans.Chap7 is return New_Lit (New_Signed_Literal (Otype, Integer_64 (Val))); exception when Constraint_Error => - Warning_Msg_Elab ("physical literal out of range", Expr); + Warning_Msg_Elab ("physical literal out of range", + Expr, Warnid_Runtime_Error); return Translate_Overflow_Literal (Expr); end; |