Unified · Split
| @@ -66,6 +66,7 @@ Bug fixes: · 65 unmodified lines | |||
| 66 | - use libtcc for static linking with runtime library (Thomas Preud'homme) | 66 | - use libtcc for static linking with runtime library (Thomas Preud'homme) |
| 67 | - fix negation of 0.0 and -0.0 values (Thomas Preud'homme) | 67 | - fix negation of 0.0 and -0.0 values (Thomas Preud'homme) |
| 68 | - fix integer to double conversion on ARM (Thomas Preud'homme) | 68 | - fix integer to double conversion on ARM (Thomas Preud'homme) |
| 69 | - fix parameter passing of (unsigned) long long bitfield (Thomas Preud'homme) | ||
| 69 | 70 | ||
| 70 | version 0.9.26: | 71 | version 0.9.26: |
| 71 | 72 | ||
| @@ -3490,6 +3490,9 @@ static void gfunc_param_typed(Sym *func, Sym *arg) · 3489 unmodified lines | |||
| 3490 | if ((vtop->type.t & VT_BTYPE) == VT_FLOAT) { | 3490 | if ((vtop->type.t & VT_BTYPE) == VT_FLOAT) { |
| 3491 | type.t = VT_DOUBLE; | 3491 | type.t = VT_DOUBLE; |
| 3492 | gen_cast(&type); | 3492 | gen_cast(&type); |
| 3493 | } else if (vtop->type.t & VT_BITFIELD) { | ||
| 3494 | type.t = vtop->type.t & (VT_BTYPE | VT_UNSIGNED); | ||
| 3495 | gen_cast(&type); | ||
| 3493 | } | 3496 | } |
| 3494 | } else if (arg == NULL) { | 3497 | } else if (arg == NULL) { |
| 3495 | tcc_error("too many arguments to function"); | 3498 | tcc_error("too many arguments to function"); |