arm-gen.c: Invalid operator test always false
Invalid operator test is always false in gen_opf for arm (found with cppcheck). This patch fixes the issue.
This commit is contained in:
parent
168aed4984
commit
05b02a5581
1 changed files with 1 additions and 1 deletions
|
@ -1566,7 +1566,7 @@ void gen_opf(int op)
|
|||
x|=0x800000;
|
||||
break;
|
||||
default:
|
||||
if(op < TOK_ULT && op > TOK_GT) {
|
||||
if(op < TOK_ULT || op > TOK_GT) {
|
||||
tcc_error("unknown fp op %x!",op);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue