Do not sanitize in an abnormal context (PR sanitizer/78815).
authorMartin Liska <mliska@suse.cz>
Thu, 5 Jan 2017 09:16:50 +0000 (10:16 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 5 Jan 2017 09:16:50 +0000 (09:16 +0000)
commit6ff92497174e84271f71d1a1ede8a0ec513ee6a7
tree35d4b9263534521db1a3b4659dbab8a4d9d370df
parent6438c2f40fb3c678fb37e7e57f8c93aad2ecaae1
Do not sanitize in an abnormal context (PR sanitizer/78815).

2017-01-05  Martin Liska  <mliska@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.

From-SVN: r244095
gcc/ChangeLog
gcc/gimplify.c