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/78832] [7 Regression] -fcompare-debug failure (length) with -fsanitize=address


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78832

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Dec 17 19:10:39 2016
New Revision: 243777

URL: https://gcc.gnu.org/viewcvs?rev=243777&root=gcc&view=rev
Log:
        PR sanitizer/78832
        * sanopt.c (sanitize_asan_mark_unpoison): Remove next variable, use
        continue if gsi_next should be skipped.
        (sanitize_asan_mark_poison): Remove prev variable, use continue if
        gsi_prev should be skipped.  When removing ASAN_MARK, do gsi_prev
        first and gsi_remove on a previously made copy of the iterator.

        * gcc.dg/asan/pr78832.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/asan/pr78832.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sanopt.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]