On Thu, Oct 19, 2017 at 09:21:47AM +0200, Martin Liška wrote:
> Hi.
> 
> As discussed with Jakub, use-after-scope sanitization should not be done for 
> variables that have bigger
> alignment than MAX_SUPPORTED_STACK_ALIGNMENT. In this case, we can't put a 
> variable to fixed stack slot.
> 
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
> 
> Ready to be installed?
> Martin
> 
> gcc/ChangeLog:
> 
> 2017-10-18  Martin Liska  <mli...@suse.cz>
> 
>       PR sanitizer/82517
>       * gimplify.c (gimplify_decl_expr): Do not instrument variables
>       that have a large alignment.
>       (gimplify_target_expr): Likewise.
> 
> gcc/testsuite/ChangeLog:
> 
> 2017-10-18  Martin Liska  <mli...@suse.cz>
> 
>       PR sanitizer/82517
>       * gcc.dg/asan/pr82517.c: New test.

Ok, thanks.

        Jakub

Reply via email to