From: Julian Seward Date: Wed, 19 Oct 2016 07:39:22 +0000 (+0000) Subject: Fix incorrect register-number constraint check for LDAEX{,B,H,D} X-Git-Tag: svn/VALGRIND_3_12_0^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94ec15ad089472bcffcbb9fe45075a714ae3dbb;p=thirdparty%2Fvalgrind.git Fix incorrect register-number constraint check for LDAEX{,B,H,D} introduced in r3248. Spotted by Clang-3.8. git-svn-id: svn://svn.valgrind.org/vex/trunk@3272 --- diff --git a/VEX/priv/guest_arm_toIR.c b/VEX/priv/guest_arm_toIR.c index 6ce200603c..4b571070b9 100644 --- a/VEX/priv/guest_arm_toIR.c +++ b/VEX/priv/guest_arm_toIR.c @@ -13329,7 +13329,7 @@ static Bool decode_V8_instruction ( if (szBlg2 < 3) { if (! (tt != 15 && nn != 15)) gate = False; } else { - if (! (tt & 1) == 0 && tt != 14 && nn != 15) gate = False; + if (! ((tt & 1) == 0 && tt != 14 && nn != 15)) gate = False; vassert(tt2 == 16/*invalid*/); tt2 = tt + 1; }