This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/82792] Fallthrough attribute ignored after label, and before with address sanitizer
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Nov 2017 08:18:02 +0000
- Subject: [Bug sanitizer/82792] Fallthrough attribute ignored after label, and before with address sanitizer
- Auto-submitted: auto-generated
- References: <bug-82792-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792
--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Nov 8 08:17:30 2017
New Revision: 254519
URL: https://gcc.gnu.org/viewcvs?rev=254519&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/asan/pr82792.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog