mescc: Tinycc support: workaround for tcc; this breaks: Structured type with char or short on heap.
* module/language/c99/compiler.mes (int->bv): Always use 32bit byte vector.
This commit is contained in:
parent
def730d74a
commit
f8f0aacb61
|
@ -126,6 +126,7 @@ t
|
||||||
"
|
"
|
||||||
|
|
||||||
broken="$broken
|
broken="$broken
|
||||||
|
7s-struct-short
|
||||||
"
|
"
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
|
|
|
@ -2276,8 +2276,8 @@
|
||||||
(define (int->bv type o)
|
(define (int->bv type o)
|
||||||
(let ((size (->size type)))
|
(let ((size (->size type)))
|
||||||
(case size
|
(case size
|
||||||
((1) (int->bv8 o))
|
;;((1) (int->bv8 o))
|
||||||
((2) (int->bv16 o))
|
;;((2) (int->bv16 o))
|
||||||
(else (int->bv32 o)))))
|
(else (int->bv32 o)))))
|
||||||
|
|
||||||
(define (init->strings o info)
|
(define (init->strings o info)
|
||||||
|
|
Loading…
Reference in a new issue