This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]