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/81209] [7/8 Regression] -fsanitize=undefined ICE on darwin


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jun 27 07:23:54 2017
New Revision: 249678

URL: https://gcc.gnu.org/viewcvs?rev=249678&root=gcc&view=rev
Log:
        PR sanitizer/81209
        * ubsan.c (ubsan_encode_value): Initialize DECL_CONTEXT on var.

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

Added:
    trunk/gcc/testsuite/g++.dg/ubsan/pr81209.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/ubsan.c

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