[Top][All Lists]

[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

From: Michael Matz
Subject: Re: [Tinycc-devel] x86_64-gen.c VT_BTYPE assertion with [mob] from March and as of today
Date: Thu, 12 May 2016 01:15:40 +0200 (CEST)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)


On Wed, 11 May 2016, Steffen Nurpmeso wrote:

Hello again!

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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]