From: Dale Weiler Date: Fri, 9 Jul 2021 18:04:28 +0000 (-0400) Subject: fix -fsort-operands X-Git-Tag: xonotic-v0.8.5~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da63ad7e07294eb10d47b4ec8bf6efc84a50c96f;p=xonotic%2Fgmqcc.git fix -fsort-operands --- diff --git a/code.cpp b/code.cpp index 645ad25..2cff0eb 100644 --- a/code.cpp +++ b/code.cpp @@ -80,7 +80,7 @@ void code_push_statement(code_t *code, prog_section_statement_t *stmt_in, lex_ct case INSTR_MUL_FV: pair = INSTR_MUL_VF; goto case_pair_gen; case INSTR_LT: pair = INSTR_GT; goto case_pair_gen; case INSTR_GT: pair = INSTR_LT; goto case_pair_gen; - case INSTR_LE: pair = INSTR_GT; goto case_pair_gen; + case INSTR_LE: pair = INSTR_GE; goto case_pair_gen; case INSTR_GE: pair = INSTR_LE; case_pair_gen: