[Bug sanitizer/83987] [6/7 Regression] ICE with OpenMP, sanitizer and virtual bases

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 3 13:17:00 GMT 2018


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:17:11 2018
New Revision: 258173

URL: https://gcc.gnu.org/viewcvs?rev=258173&root=gcc&view=rev
Log:
        Backported from mainline
        2018-01-23  Jakub Jelinek  <jakub@redhat.com>

        PR sanitizer/83987
        * tree.c (cp_free_lang_data): Change DECL_VALUE_EXPR of
        DECL_OMP_PRIVATIZED_MEMBER vars to error_mark_node.

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

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/ubsan/pr83987.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/tree.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list