tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] plans to 0.9.27 (was 0.9.28)


From: Christian Jullien
Subject: Re: [Tinycc-devel] plans to 0.9.27 (was 0.9.28)
Date: Mon, 25 Sep 2017 05:53:49 +0200

I only have a remote access on aarch64 using my gccfarm account and I
confess I don't test all commits.

Your suggestion:
-       char b;
+       signed char b;

Fixes it, you can push this change


-----Original Message-----
From: grischka [mailto:address@hidden 
Sent: dimanche 24 septembre 2017 20:51
To: Christian Jullien; address@hidden
Subject: Re: [Tinycc-devel] plans to 0.9.27 (was 0.9.28)

Christian Jullien wrote:
> While mod after you last commit works great on Windows 32/64 Rpi arm
> 
> It has one issue on Aarch64 (yet I don't know if it is related to your 
> last commit or not):

Hm.  It might have to do with unsigned-ness of chars on arm.  If so it is a
bug in the test and the change below might fix it.  (I still wonder whether
it did work earlier (and then why) or if it just wasn't tested at all yet on
arm64).

------------------------- tests/tests2/95_bitfields.c
------------------------- index 683becf..f025c57 100644 @@ -69,9 +69,9 @@
  #elif TEST == 6
  {
      struct M P __s {
        int a;
-       char b;
+       signed char b;
        int x : 12, y : 4, : 0, : 4, z : 3;
        char d;
      };
      TEST_STRUCT(1,2,3,4,-3);

-- gr


> address@hidden:~/tinycc$ uname -a
> Linux gcc113 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:45:34 UTC 
> 2016
> aarch64 aarch64 aarch64 GNU/Linux
> 
> Test: 95_bitfields...
> --- 95_bitfields.expect 2017-09-24 10:50:04.240209938 -0700
> +++ 95_bitfields.output 2017-09-24 10:50:43.236414994 -0700
> @@ -31,7 +31,7 @@
>  ---- TEST 6 ----
>  bits in use : 0000007000FFFFFFFFFFFFFF  bits as set : 
> 00000030002001FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 4 12
> 
> 
> @@ -69,7 +69,7 @@
>  ---- TEST 6 - PACKED ----
>  bits in use : 007000FFFFFFFFFFFFFF
>  bits as set : 0030002001FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 1 10
> 
> 
> @@ -107,7 +107,7 @@
>  ---- TEST 6 - WITH ALIGN ----
>  bits in use : 0000007000FFFFFFFFFFFFFF  bits as set : 
> 00000030002001FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 4 12
> 
> 
> @@ -145,5 +145,5 @@
>  ---- TEST 6 - PACKED - WITH ALIGN ----  bits in use : 
> 007000FFFFFFFFFFFFFF  bits as set : 0030002001FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 1 10
> make[2]: *** [95_bitfields.test] Error 1
> Test: 95_bitfields_ms...
> --- 95_bitfields_ms.expect      2017-09-24 10:50:04.240209938 -0700
> +++ 95_bitfields_ms.output      2017-09-24 10:50:43.246414020 -0700
> @@ -31,7 +31,7 @@
>  ---- TEST 6 - MS-BITFIELDS ----
>  bits in use : 00000000000000700000FFFF000000FFFFFFFFFF
>  bits as set : 000000000000003000002001000000FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 4 20
> 
> 
> @@ -69,7 +69,7 @@
>  ---- TEST 6 - MS-BITFIELDS - PACKED ----  bits in use : 
> 00000000700000FFFFFFFFFFFFFF  bits as set : 
> 000000003000002001FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 1 14
> 
> 
> @@ -107,7 +107,7 @@
>  ---- TEST 6 - MS-BITFIELDS - WITH ALIGN ----  bits in use : 
> 00000000000000700000FFFF000000FFFFFFFFFF
>  bits as set : 000000000000003000002001000000FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 4 20
> 
> 
> @@ -145,5 +145,5 @@
>  ---- TEST 6 - MS-BITFIELDS - PACKED - WITH ALIGN ----  bits in use : 
> 00000000700000FFFFFFFFFFFFFF  bits as set : 
> 000000003000002001FD00000004
> -values      : 01 02 03 04 fffffffd
> +values      : 01 02 03 04 fd
>  align/size  : 1 14
> make[2]: *** [95_bitfields_ms.test] Error 1
> 
> -----Original Message-----
> From: Tinycc-devel 
> [mailto:address@hidden
> On Behalf Of Christian Jullien
> Sent: dimanche 24 septembre 2017 19:40
> To: 'grischka'; address@hidden
> Subject: Re: [Tinycc-devel] plans to 0.9.28
> 
> Very nice indeed.
> 
> I offer you my time to test every attempts on:
> 
> Windows x86/x64
> Linux x86/x64
> RPi arm
> Aarch64
> 
> 
> -----Original Message-----
> From: grischka [mailto:address@hidden
> Sent: dimanche 24 septembre 2017 19:10
> To: Christian JULLIEN; address@hidden
> Subject: Re: [Tinycc-devel] plans to 0.9.28
> 
> Hi,
> 
> I just pushed a patch for more complete 'long' support (which was 
> started by Matthias Gatto for _Generic), as well as with eome 
> improvements for multicharacter constants:
> 
> http://repo.or.cz/tinycc.git/commitdiff/1443039416dd02750765efde1af35e
> 31c8d4
> 1be3
> 
> So, now, basically, I'd agree to, including the offer to undertake the 
> necessary steps, to release this, say after some weeks of for finel 
> testing, as
>                          ___ 0.9.27 ___.
> 
> What do people think?
> 
> -- gr
> 
> Christian JULLIEN wrote:
>> Hi all,
>>
>>
>> Last December, we where close to release 0.9.28 but more than 6 
>> months later, I see no plans for an imminent 0.9.28 release.
>>
>> I'm fortunate to know how to build tcc on the many machines I use but 
>> also see many users trying to use a very old 0.9.27 version.
>>
>> I think it's time to release 0.9.28 and start new dev. on 0.9.29 
>> IMHO,
>>
>> - we should decide what we really want to implement before we release
>> 0.9.28 and propose an ETA for implementation
>>
>> - enter a bug fix, validation cycle (no new feature or gratuitous
>> changes)
>>
>> - check all ports (Windows 32/64, Linux x86, x64, arm, Aarch64, 
>> more?), I will test all of them
>>
>> - Make 0.9.28
>>
>>
>> Sounds reasonable to you?
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> _______________________________________________
>> Tinycc-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 





reply via email to

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