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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 28 22:55:29 2019
New Revision: 272802

URL: https://gcc.gnu.org/viewcvs?rev=272802&root=gcc&view=rev
Log:
        Backported from mainline
        2019-06-25  Jakub Jelinek  <ja...@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-9-branch/gcc/testsuite/c-c++-common/gomp/pr90954.c
Modified:
    branches/gcc-9-branch/gcc/c-family/ChangeLog
    branches/gcc-9-branch/gcc/c-family/c-omp.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to