[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Ready for Release 0.9.27
From: |
Daniel Glöckner |
Subject: |
Re: [Tinycc-devel] Ready for Release 0.9.27 |
Date: |
Thu, 9 Feb 2017 23:28:46 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu, Feb 09, 2017 at 01:35:31PM +0100, Vincent Lefevre wrote:
> If an int can represent all values of the original type (as
> restricted by the width, for a bit-field), the value is converted
> to an int; otherwise, it is converted to an unsigned int. These are
> called the integer promotions.58) All other types are unchanged by
> the integer promotions.
I've had a look at the code. We can easily change gv() to cast
unsigned bitfields < 32 bits to signed int, but there are lots of
places where the code just looks at the VT_UNSIGNED flag or the
VT_LLONG basic type and doesn't notice that VT_BITFIELD is set as
well (and the size is < 32 bits).
Best regards,
Daniel
- Re: [Tinycc-devel] Ready for Release 0.9.27, (continued)
- Re: [Tinycc-devel] Ready for Release 0.9.27, Steffen Nurpmeso, 2017/02/08
- Re: [Tinycc-devel] Ready for Release 0.9.27, Thomas Preud'homme, 2017/02/08
- Re: [Tinycc-devel] Ready for Release 0.9.27, Vincent Lefevre, 2017/02/09
- Re: [Tinycc-devel] Ready for Release 0.9.27, grischka, 2017/02/09
- Re: [Tinycc-devel] Ready for Release 0.9.27, Thomas Preud'homme, 2017/02/09
- Re: [Tinycc-devel] Ready for Release 0.9.27, Vincent Lefevre, 2017/02/09
- Re: [Tinycc-devel] Ready for Release 0.9.27, grischka, 2017/02/10
- Re: [Tinycc-devel] Ready for Release 0.9.27, Michael Matz, 2017/02/11
- Re: [Tinycc-devel] Ready for Release 0.9.27,
Daniel Glöckner <=
Re: [Tinycc-devel] Ready for Release 0.9.27, Christian Jullien, 2017/02/09
- Re: [Tinycc-devel] Ready for Release 0.9.27, avih, 2017/02/09
- Re: [Tinycc-devel] Ready for Release 0.9.27, grischka, 2017/02/09
- Message not available
- [Tinycc-devel] Fw: Ready for Release 0.9.27, avih, 2017/02/09
- Re: [Tinycc-devel] Fw: Ready for Release 0.9.27, grischka, 2017/02/09
- Re: [Tinycc-devel] Fw: Ready for Release 0.9.27, Vladimir Vissoultchev, 2017/02/09
- Re: [Tinycc-devel] Fw: Ready for Release 0.9.27, grischka, 2017/02/09
- Re: [Tinycc-devel] Fw: Ready for Release 0.9.27, Vladimir Vissoultchev, 2017/02/09
- Re: [Tinycc-devel] Fw: Ready for Release 0.9.27, grischka, 2017/02/09
- Re: [Tinycc-devel] VS2015 / was Ready for Release 0.9.27, grischka, 2017/02/13