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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb  7 14:37:26 2019
New Revision: 268628

URL: https://gcc.gnu.org/viewcvs?rev=268628&root=gcc&view=rev
Log:
        Backported from mainline
        2019-01-22  Jakub Jelinek  <ja...@redhat.com>

        PR middle-end/88968
        * gimplify.c (gimplify_omp_atomic): Handle bitfield atomics with
        non-integral DECL_BIT_FIELD_REPRESENTATIVEs.

        * c-omp.c (c_finish_omp_atomic): For bitfield atomics, update type
        variable after using BIT_FIELD_REF.

        * c-c++-common/gomp/atomic-23.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/c-c++-common/gomp/atomic-23.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/c-family/ChangeLog
    branches/gcc-8-branch/gcc/c-family/c-omp.c
    branches/gcc-8-branch/gcc/gimplify.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to