On Mon, Sep 24, 2018 at 09:39:30AM +0200, Martin Liška wrote: > Hi. > > As always Jakub provided my very nice hint how to fix the issue. > It's about adding representative of a stack partitioning into > asan_handled_variables when another variable of the partition > lies in asan_handled_variables. > > Patch survives testing on ppc64le-linux-gnu. > Ready for trunk? > > gcc/ChangeLog: > > 2018-09-21 Martin Liska <mli...@suse.cz> > > PR sanitizer/85774 > * asan.c: Make asan_handled_variables extern. > * asan.h: Likewise. > * cfgexpand.c (expand_stack_vars): Make sure > a representative is unpoison if another > variable in the partition is handled by > use-after-scope sanitization. > > gcc/testsuite/ChangeLog: > > 2018-09-21 Martin Liska <mli...@suse.cz> > > PR sanitizer/85774 > * g++.dg/asan/pr85774.C: New test.
Ok, thanks. Jakub