From 2615e17cd9cbd19e88b3093d30b0011435bd3eb2 Mon Sep 17 00:00:00 2001
From: Tristan Gingold <tgingold@free.fr>
Date: Sat, 21 Mar 2020 14:04:29 +0100
Subject: synth-static_oper: handle not for signed and unsigned.  Fix #1167

---
 src/synth/synth-static_oper.adb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/synth')

diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 270260b71..68b71b2b1 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -783,7 +783,9 @@ package body Synth.Static_Oper is
                end;
             end;
 
-         when Iir_Predefined_Ieee_1164_Vector_Not =>
+         when Iir_Predefined_Ieee_1164_Vector_Not
+           | Iir_Predefined_Ieee_Numeric_Std_Not_Uns
+           | Iir_Predefined_Ieee_Numeric_Std_Not_Sgn =>
             return Synth_Vector_Monadic (Operand, Not_Table);
 
          when Iir_Predefined_Ieee_1164_Scalar_Not =>
-- 
cgit v1.2.3