tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Obscure local-label related bug


From: Michael Matz
Subject: Re: [Tinycc-devel] Obscure local-label related bug
Date: Tue, 14 Apr 2020 22:45:57 +0200 (CEST)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hello,

On Tue, 14 Apr 2020, Petr Skocik wrote:

I ran into this in some in some macro generated code:

int main()
{
    #if 1 //a workaround
    __label__ LBL;
    #endif

    //jump to a classical label out of an expr-stmt that had previously
overshadowed that classical label
    ({
         { __label__ LBL; LBL:; }
     goto LBL; });
    LBL:;
    //^won't compile on tcc but will on gcc and clang
}

What t.... Uahhh!

Just making a note. I don't expect anybody to fix it anytime soon. :)

Fixed in mob :)  (Nice find!)


Ciao,
Michael.

reply via email to

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