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 #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Aug  7 18:34:29 2017
New Revision: 250929

URL: https://gcc.gnu.org/viewcvs?rev=250929&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:
    trunk/libgomp/testsuite/libgomp.c++/pr69389.C
    trunk/libgomp/testsuite/libgomp.c/pr69389.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-omp.c
    trunk/gcc/gimplify.c
    trunk/libgomp/ChangeLog

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