diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-02-25 13:25:19 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-02-25 13:25:19 +0300 |
commit | 8a231080e0cbbc3a362f894534ab6e087bea3e1f (patch) | |
tree | 48cc32a6dcb98bf24295665a38cad63a7eba85c2 | |
parent | fff27ab229c71b36e7d31a50ebae5088360332c8 (diff) | |
download | nasm-8a231080e0cbbc3a362f894534ab6e087bea3e1f.tar.gz |
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 <gorcunov@gmail.com>
-rw-r--r-- | asm/directiv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |