On Thu, Jan 05, 2017 at 09:42:54AM +0100, Martin Liška wrote: > I like your approach, I'm sending updated patch which bootstraps and survives > regression tests. > > Ready to be installed? > Martin
> >From 42887cf5fe7d94709ee5356fb6534c7a4fc26bff Mon Sep 17 00:00:00 2001 > From: marxin <mli...@suse.cz> > Date: Wed, 4 Jan 2017 16:43:49 +0100 > Subject: [PATCH] Do not sanitize in an abnormal context (PR sanitizer/78815). > > gcc/ChangeLog: > > 2017-01-04 Martin Liska <mli...@suse.cz> > > PR sanitizer/78815 > * gimplify.c (gimplify_decl_expr): Compare to > asan_poisoned_variables instread of checking flags. > (gimplify_target_expr): Likewise. > (gimplify_expr): Likewise. > (gimplify_function_tree): Conditionally initialize > asan_poisoned_variables. Ok, thanks. Jakub