This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/69389] bit field incompatible with OpenMP atomic update


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

--- Comment #5 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:37:19 2017
New Revision: 252330

URL: https://gcc.gnu.org/viewcvs?rev=252330&root=gcc&view=rev
Log:
        PR c/69389
        * gimplify.c (goa_stabilize_expr): Handle BIT_INSERT_EXPR and
        BIT_FIELD_REF.

        * c-omp.c (c_finish_omp_atomic): Handle atomics on bitfields.

        * testsuite/libgomp.c/pr69389.c: New test.
        * testsuite/libgomp.c++/pr69389.C: New test.

Added:
    branches/range-gen2/libgomp/testsuite/libgomp.c++/pr69389.C
    branches/range-gen2/libgomp/testsuite/libgomp.c/pr69389.c
Modified:
    branches/range-gen2/gcc/ChangeLog
    branches/range-gen2/gcc/c-family/ChangeLog
    branches/range-gen2/gcc/c-family/c-omp.c
    branches/range-gen2/gcc/gimplify.c
    branches/range-gen2/libgomp/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]