[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] x86_64-gen.c VT_BTYPE assertion with [mob] from March
Re: [Tinycc-devel] x86_64-gen.c VT_BTYPE assertion with [mob] from March and as of today
Thu, 12 May 2016 11:58:46 +0200
Michael Matz <address@hidden> wrote:
|On Wed, 11 May 2016, Steffen Nurpmeso wrote:
|> With faulty code (subtraction of address against non-address
|> object) i ran into
|> tcc: x86_64-gen.c:418: load: Assertion `((ft & VT_BTYPE) == VT_INT\
|> ) || ((ft & VT_BTYPE) == VT_LLONG) || ((ft & VT_BTYPE) == VT_PTR) \
|> || ((ft & VT_BTYPE) == VT_ENUM) || ((ft & VT_BTYPE) == VT_FUNC)' failed.
|> Aborted (core dumped)
|> I'll attach a very silly reproducer.
|> Thanks of an everyday user!
|Thanks for the report. [mob] now gives a proper error message also on
|64bit platforms (the check for structs was too late).
Yep, i can confirm that after checking out [9645b62] and
cherry-picking [a66ba1f] that works, thanks a lot!