]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Comment out test "(INSNA(6,6) == 0 || INSNA(6,6) == 1)" that gcc 8 complains (correc...
authorJulian Seward <jseward@acm.org>
Sat, 5 May 2018 07:49:02 +0000 (09:49 +0200)
committerJulian Seward <jseward@acm.org>
Sat, 5 May 2018 07:49:02 +0000 (09:49 +0200)
VEX/priv/guest_arm_toIR.c

index 26c5174647aa5c09e2ae08167aaaf9774470e611..d858c85e0bcca21da5f96d052d85e402a46dcffb 100644 (file)
@@ -9145,8 +9145,11 @@ static Bool decode_V6MEDIA_instruction (
         }
      } else {
         if (INSNA(27,20) == BITS8(0,1,1,0,1,0,0,0) &&
-            INSNA(5,4)   == BITS2(0,1)             &&
-            (INSNA(6,6)  == 0 || INSNA(6,6) == 1) ) {
+            INSNA(5,4)   == BITS2(0,1) /*          &&
+            (INSNA(6,6)  == 0 || INSNA(6,6) == 1)
+            This last bit with INSNA(6,6) is correct, but gcc 8 complains
+            (correctly) that it is always true.  So I commented it out
+            to keep gcc quiet. */ ) {
            regD = INSNA(15,12);
            regN = INSNA(19,16);
            regM = INSNA(3,0);