|
From: | Petr Skocik |
Subject: | [Tinycc-devel] Obscure local-label related bug |
Date: | Tue, 14 Apr 2020 21:13:54 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
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 } Just making a note. I don't expect anybody to fix it anytime soon. :)
[Prev in Thread] | Current Thread | [Next in Thread] |