Re: [PING v2][PATCH] Support for BIT_FIELD_REF in asan.c

2014-10-10 Thread Jakub Jelinek
On Fri, Oct 10, 2014 at 03:40:57PM +0400, Marat Zakirov wrote: > gcc/ChangeLog: > > 2014-09-19 Marat Zakirov > > * asan.c (instrument_derefs): BIT_FIELD_REF added. > > gcc/testsuite/ChangeLog: > > 2014-09-19 Marat Zakirov > > * c-c++-common/asan/bitfield-5.c: New test. Ok, t

[PING v2][PATCH] Support for BIT_FIELD_REF in asan.c

2014-10-10 Thread Marat Zakirov
On 10/03/2014 10:47 AM, Marat Zakirov wrote: On 09/26/2014 12:55 PM, Marat Zakirov wrote: Hi all! Here's a patch which instruments byte-aligned BIT_FIELD_REFs. During GCC asan-bootstrap and Linux kernel build I didn't find any cases where BIT_FIELD_REF is not 8 bits aligned. But I do not ha

[PING][PATCH] Support for BIT_FIELD_REF in asan.c

2014-10-02 Thread Marat Zakirov
On 09/26/2014 12:55 PM, Marat Zakirov wrote: Hi all! Here's a patch which instruments byte-aligned BIT_FIELD_REFs. During GCC asan-bootstrap and Linux kernel build I didn't find any cases where BIT_FIELD_REF is not 8 bits aligned. But I do not have sufficient confidence to replace current re

[PATCH] Support for BIT_FIELD_REF in asan.c

2014-09-26 Thread Marat Zakirov
Hi all! Here's a patch which instruments byte-aligned BIT_FIELD_REFs. During GCC asan-bootstrap and Linux kernel build I didn't find any cases where BIT_FIELD_REF is not 8 bits aligned. But I do not have sufficient confidence to replace current return if BIT_FIELD_REF is misaligned to assert.