Unified · Split
| @@ -1901,8 +1901,6 @@ void gfunc_call(int nb_args) · 1900 unmodified lines | ||
| 1901 | 1901 | for (i = 0; i < nb_args; i++) { |
| 1902 | 1902 | if ((vtop->type.t & VT_BTYPE) == VT_STRUCT) { |
| 1903 | 1903 | ALWAYS_ASSERT(FALSE); |
| 1904 | − } else if ((vtop->type.t & VT_BTYPE) == VT_STRUCT) { | |
| 1905 | − ALWAYS_ASSERT(FALSE); | |
| 1906 | 1904 | } else { |
| 1907 | 1905 | /* simple type (currently always same size) */ |
| 1908 | 1906 | /* XXX: implicit cast ? */ |
| @@ -162,7 +162,6 @@ ST_FUNC Sym *sym_push2(Sym **ps, int v, int t, long c) · 161 unmodified lines | ||
| 162 | 162 | tcc_error("incompatible types for redefinition of '%s'", |
| 163 | 163 | get_tok_str(v, NULL)); |
| 164 | 164 | } |
| 165 | − s = *ps; | |
| 166 | 165 | s = sym_malloc(); |
| 167 | 166 | s->asm_label = NULL; |
| 168 | 167 | s->v = v; |
| @@ -276,7 +276,7 @@ ST_FUNC char *get_tok_str(int v, CValue *cv) · 275 unmodified lines | ||
| 276 | 276 | #ifdef _WIN32 |
| 277 | 277 | sprintf(p, "%u", (unsigned)cv->ull); |
| 278 | 278 | #else |
| 279 | − sprintf(p, "%Lu", cv->ull); | |
| 279 | + sprintf(p, "%llu", cv->ull); | |
| 280 | 280 | #endif |
| 281 | 281 | break; |
| 282 | 282 | case TOK_LCHAR: |
| @@ -501,7 +501,7 @@ void load(int r, SValue *sv) · 500 unmodified lines | ||
| 501 | 501 | o(0xc0 + REG_VALUE(v) + REG_VALUE(r)*8); |
| 502 | 502 | } |
| 503 | 503 | } else if (r == TREG_ST0) { |
| 504 | − assert((v >= TREG_XMM0) || (v <= TREG_XMM7)); | |
| 504 | + assert((v >= TREG_XMM0) && (v <= TREG_XMM7)); | |
| 505 | 505 | /* gen_cvt_ftof(VT_LDOUBLE); */ |
| 506 | 506 | /* movsd %xmmN,-0x10(%rsp) */ |
| 507 | 507 | o(0x110ff2); |