https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79783

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Mar  6 10:20:33 2017
New Revision: 245912

URL: https://gcc.gnu.org/viewcvs?rev=245912&root=gcc&view=rev
Log:
Fix ICE in use-after-scope w/ -fno-tree-dce (PR sanitize/79783).

2017-03-06  Martin Liska  <mli...@suse.cz>

        PR sanitize/79783
        * asan.c (asan_expand_poison_ifn): Do not expand ASAN_POISON
        when having a SSA NAME w/o VAR_DECL assigned to it.
2017-03-06  Martin Liska  <mli...@suse.cz>

        PR sanitize/79783
        * g++.dg/asan/pr79783.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/asan/pr79783.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/asan.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to