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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>:

https://gcc.gnu.org/g:598359f627dec765eb74e31d9e96901a68bbfb97

commit r11-8130-g598359f627dec765eb74e31d9e96901a68bbfb97
Author: Martin Liska <mli...@suse.cz>
Date:   Mon Apr 12 10:49:41 2021 +0200

    ASAN: do not unpoison in OpenMP context

    gcc/ChangeLog:

            PR sanitizer/99877
            * gimplify.c (gimplify_expr): Right now, we unpoison all
            variables before a goto <dest>. We should not do it if we are
            in a omp context.

    gcc/testsuite/ChangeLog:

            PR sanitizer/99877
            * g++.dg/asan/pr99877.C: New test.

Reply via email to