From e94ec15ad089472bcffcbb9fe45075a714ae3dbb Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 19 Oct 2016 07:39:22 +0000 Subject: [PATCH] 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 --- VEX/priv/guest_arm_toIR.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2