|
From: | Herman ten Brugge |
Subject: | Re: [Tinycc-devel] tcc broken on osx 10.13.6 since 62096265 "Add debug support to macos" (herman ten brugge) |
Date: | Sat, 18 Mar 2023 13:42:38 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 3/18/23 13:13, avih wrote:
On Saturday, March 18, 2023, 02:07:35 PM GMT+2, avih <avihpit@yahoo.com> wrote:> If I use #if 0 instead of #if !defined(__clang__) || GCC_MAJOR >= 11 > then it does pass. Not quite sure what's going on. Ah, I do get it. When it compiles the reference using clang then these elements are 0, but when it compiles the test using tcc then __clang__ is not defined so this block is entered, and the builtins do exist, so it compiles successfully and works, but still different than the reference which has zeroes there.
You should probably make a patch that works for clang version 10. Perhaps only 'GCC_MAJOR >= 11' does the trick. This disables the test on older machines with gcc. Herman
[Prev in Thread] | Current Thread | [Next in Thread] |