On Wed, Apr 20, 2016 at 12:22 PM, Bin.Cheng wrote:
> On Wed, Apr 20, 2016 at 9:55 AM, Richard Biener
> wrote:
>> On Tue, Apr 19, 2016 at 7:00 PM, Bin Cheng wrote:
>>> Hi,
>>> Type conversion from integer to smaller unsigned type could be transformed
>>> into BIT_AND_EXPR in compilation. For ex
On Wed, Apr 20, 2016 at 9:55 AM, Richard Biener
wrote:
> On Tue, Apr 19, 2016 at 7:00 PM, Bin Cheng wrote:
>> Hi,
>> Type conversion from integer to smaller unsigned type could be transformed
>> into BIT_AND_EXPR in compilation. For example,
>> int i;
>> for (i = 0; i < n; i++)
>> {
>>
On Tue, Apr 19, 2016 at 7:00 PM, Bin Cheng wrote:
> Hi,
> Type conversion from integer to smaller unsigned type could be transformed
> into BIT_AND_EXPR in compilation. For example,
> int i;
> for (i = 0; i < n; i++)
> {
> unsigned char uc = (unsigned char) i; // transformed into
Hi,
Type conversion from integer to smaller unsigned type could be transformed into
BIT_AND_EXPR in compilation. For example,
int i;
for (i = 0; i < n; i++)
{
unsigned char uc = (unsigned char) i; // transformed into X = i && 255,
in which both X and i are of int type.
b[uc]