tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] tcc broken on osx 10.13.6 since 62096265 "Add debug s


From: avih
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 12:07:33 +0000 (UTC)

The patch does not work. The file compiles but there's a diff:

------------ test3 ------------
--- test.ref 2023-03-18 14:01:39.000000000 +0200
+++ test.out3 2023-03-18 14:01:40.000000000 +0200
@@ -973,9 +973,9 @@
6 1490
7 3010
8 3010
-9 0
-10 0
-11 0
+9 2444
+10 3056
+11 3056
12 16149
13 32126
14 32126
make[2]: *** [test3] Error 1
make[1]: *** [all] Error 2
make: *** [test] Error 2

If I use #if 0 instead of #if !defined(__clang__) || GCC_MAJOR >= 11
then it does pass. Not quite sure what's going on.

- avih
On Saturday, March 18, 2023, 12:46:47 PM GMT+2, Herman ten Brugge <hermantenbrugge@home.nl> wrote:


On 3/18/23 11:34, avih wrote:
>
> This is a second reply to the same email.
>
> On Tuesday, March 14, 2023, 06:02:35 PM GMT+2, Herman ten Brugge
> <hermantenbrugge@home.nl> wrote:
>
> > Can you change the code in 'tests/tcctest.c' on line 3865 to '#if
> > GCC_MAJOR >= 40'.
>
> This works. Specifically, only the __builtin_clrsb* are an issue,
> while the others are fine.
Can you try attached patch.

    Herman

reply via email to

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