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/86406] [8/9 Regression][UBSAN] -fcompare-debug failure with -fsanitize=undefined


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 10 08:15:15 2018
New Revision: 262537

URL: https://gcc.gnu.org/viewcvs?rev=262537&root=gcc&view=rev
Log:
        PR sanitizer/86406
        * cp-gimplify.c (cp_maybe_instrument_return): Skip trailing
        DEBUG_BEGIN_STMTs.

        * g++.dg/ubsan/pr86406.C: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/ubsan/pr86406.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/cp-gimplify.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

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