PR c/69389
commitb4ae034c3ad20b6f4f6d79c4d145b508d9e5abe8
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Aug 2017 18:34:29 +0000 (7 18:34 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Aug 2017 18:34:29 +0000 (7 18:34 +0000)
treec89ce11c83972621f5a37972d6d1ac9a7b80144e
parent0b3bf55cacb7245c183e14c51f5983d03f480785
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250929 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-omp.c
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr69389.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr69389.c [new file with mode: 0644]