Re: [PATCH] Add static assert about stack alignment (PR sanitizer/82517).

2018-01-09 Thread Martin Liška
On 01/09/2018 11:47 AM, Jakub Jelinek wrote: > On Tue, Jan 09, 2018 at 11:41:17AM +0100, Martin Liška wrote: >> Folowing static assert is added as we may potentially adjust >> ASAN_SHADOW_GRANULARITY >> (via ASAN_SHADOW_SHIFT). The assert ensures stack variables will have >> sufficient >> alignme

Re: [PATCH] Add static assert about stack alignment (PR sanitizer/82517).

2018-01-09 Thread Jakub Jelinek
On Tue, Jan 09, 2018 at 11:41:17AM +0100, Martin Liška wrote: > Folowing static assert is added as we may potentially adjust > ASAN_SHADOW_GRANULARITY > (via ASAN_SHADOW_SHIFT). The assert ensures stack variables will have > sufficient > alignment. > > Patch can bootstrap on ppc64le-redhat-linux

[PATCH] Add static assert about stack alignment (PR sanitizer/82517).

2018-01-09 Thread Martin Liška
Hi. Folowing static assert is added as we may potentially adjust ASAN_SHADOW_GRANULARITY (via ASAN_SHADOW_SHIFT). The assert ensures stack variables will have sufficient alignment. Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. Ready to be installed? Martin gcc/Chan