Do not put gimple stmt on an abnormal edge (PR sanitizer/82545).
authorMartin Liska <mliska@suse.cz>
Wed, 18 Oct 2017 08:14:47 +0000 (10:14 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 18 Oct 2017 08:14:47 +0000 (08:14 +0000)
commit236ac44204c4a0f172751fad3221a8686e58bfc7
tree3725d74c3a9dce2e6b7b2d1b0724a8dbd3b604c9
parent1b2944cbd4da300b142524fe259fc20140396692
Do not put gimple stmt on an abnormal edge (PR sanitizer/82545).

2017-10-18  Martin Liska  <mliska@suse.cz>

PR sanitizer/82545
* asan.c (asan_expand_poison_ifn): Do not put gimple stmt
on an abnormal edge.
2017-10-18  Martin Liska  <mliska@suse.cz>

PR sanitizer/82545
* gcc.dg/asan/pr82545.c: New test.

From-SVN: r253845
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr82545.c [new file with mode: 0644]