[Bug sanitizer/90954] ICE: combining undefined behavior sanitizer with openmp

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 30 12:48:00 GMT 2019


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:47:28 2019
New Revision: 275161

URL: https://gcc.gnu.org/viewcvs?rev=275161&root=gcc&view=rev
Log:
        Backported from mainline
        2019-06-25  Jakub Jelinek  <jakub@redhat.com>

        PR sanitizer/90954
        * c-omp.c (c_finish_omp_atomic): Allow tree_invariant_p in addition
        to SAVE_EXPR in first operand of a COMPOUND_EXPR.

        * c-c++-common/gomp/pr90954.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/c-c++-common/gomp/pr90954.c
Modified:
    branches/gcc-7-branch/gcc/c-family/ChangeLog
    branches/gcc-7-branch/gcc/c-family/c-omp.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list