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/82792] Fallthrough attribute ignored after label, and before with address sanitizer


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

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