Re: V3 [PATCH] c-family: Update unaligned adress of packed member check

2019-01-21 Thread H.J. Lu
On Mon, Jan 21, 2019 at 4:57 AM Maxim Kuvyrkov wrote: > > Hi H.J., > > I've bisected compiler crash on building linux kernel for ARM down to this > commit. Search for > == > fs/ntfs/super.c:597:3: internal compiler error: Segmentation fault > == > in > https://ci.linaro.org/view/tcwg_kernel-gnu

Re: V3 [PATCH] c-family: Update unaligned adress of packed member check

2019-01-21 Thread Maxim Kuvyrkov
Hi H.J., I've bisected compiler crash on building linux kernel for ARM down to this commit. Search for == fs/ntfs/super.c:597:3: internal compiler error: Segmentation fault == in https://ci.linaro.org/view/tcwg_kernel-gnu/job/tcwg_kernel-build-gnu-master-arm-mainline-defconfig/285/artifact/arti

Re: V3 [PATCH] c-family: Update unaligned adress of packed member check

2019-01-18 Thread Jakub Jelinek
On Thu, Jan 17, 2019 at 04:00:47PM -0800, H.J. Lu wrote: > gcc/c-family/ > > PR c/51628 > PR c/88664 > * c-common.h (warn_for_address_or_pointer_of_packed_member): > Remove the boolean argument. > * c-warn.c (check_address_of_packed_member): Renamed to ... > (ch

V3 [PATCH] c-family: Update unaligned adress of packed member check

2019-01-17 Thread H.J. Lu
On Thu, Jan 17, 2019 at 12:27 PM H.J. Lu wrote: > > On Thu, Jan 17, 2019 at 7:36 AM Jakub Jelinek wrote: > > > > On Wed, Jan 16, 2019 at 08:57:25PM -0800, H.J. Lu wrote: > > > Check unaligned pointer conversion and strip NOPS. > > > > > -check_address_of_packed_member (tree type, tree rhs) > > >