tinycc-devel
[Top][All Lists]
Advanced

[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: Steffen Nurpmeso
Subject: Re: [Tinycc-devel] x86_64-gen.c VT_BTYPE assertion with [mob] from March and as of today
Date: Thu, 12 May 2016 11:58:46 +0200
User-agent: s-nail v14.8.8-218-g12f6182-dirty

Hallo!

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!
Ciao again!

--steffen



reply via email to

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