From 8a231080e0cbbc3a362f894534ab6e087bea3e1f Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 25 Feb 2018 13:25:19 +0300 Subject: [PATCH] get_cpu: Fix a7ecf2646d6c80b994be7d340140379d580050cf The call to iflag_clear_all has been occasionally dropped, bring it back. https://bugzilla.nasm.us/show_bug.cgi?id=3392466 Reported-by: sezeroz@gmail.com Signed-off-by: Cyrill Gorcunov --- asm/directiv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asm/directiv.c b/asm/directiv.c index 7c741685..7e646832 100644 --- a/asm/directiv.c +++ b/asm/directiv.c @@ -99,6 +99,8 @@ static iflag_t get_cpu(const char *value) { NULL, IF_PLEVEL } /* Error and final default entry */ }; + iflag_clear_all(&r); + for (cpu = cpunames; cpu->name; cpu++) { if (!strcmp(value, cpu->name)) break;