[Bug sanitizer/79783] [7 Regression] ICE on valid C++ with -fsanitize=address

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 6 10:21:00 GMT 2017


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  <mliska@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  <mliska@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


More information about the Gcc-bugs mailing list