Fix fallthrough attribute ignorance w/ -fsanitize=address (PR sanitizer/82792).
authorMartin Liska <mliska@suse.cz>
Wed, 8 Nov 2017 08:17:30 +0000 (09:17 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 8 Nov 2017 08:17:30 +0000 (08:17 +0000)
commit053ee6a774d6591cfc39f26e435e1912ddf8c54c
treeaaf44db4400b6b1c323c2ece20c7f455909b4a69
parent5925290f7d809ce6622df64d68073522f7928761
Fix fallthrough attribute ignorance w/ -fsanitize=address (PR sanitizer/82792).

2017-11-08  Martin Liska  <mliska@suse.cz>

PR sanitizer/82792
* gimplify.c (expand_FALLTHROUGH_r): Skip IFN_ASAN_MARK.
2017-11-08  Martin Liska  <mliska@suse.cz>

PR sanitizer/82792
* g++.dg/asan/pr82792.C: New test.

From-SVN: r254519
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/pr82792.C [new file with mode: 0644]