https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90954
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Aug 29 15:03:31 2019 New Revision: 275043 URL: https://gcc.gnu.org/viewcvs?rev=275043&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-8-branch/gcc/testsuite/c-c++-common/gomp/pr90954.c Modified: branches/gcc-8-branch/gcc/c-family/ChangeLog branches/gcc-8-branch/gcc/c-family/c-omp.c branches/gcc-8-branch/gcc/testsuite/ChangeLog