re PR middle-end/59448 (Code generation doesn't respect C11 address-dependency)
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 14 Jan 2015 13:58:35 +0000 (13:58 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Wed, 14 Jan 2015 13:58:35 +0000 (13:58 +0000)
commit8673b6713e9457187cc9ecbefe949fb2393cb057
tree80e4f051bc5ec02d383c65782ba5694b86b0f3aa
parent4b54ab976e5b0fd88580927adc6b8d5f2bd89044
re PR middle-end/59448 (Code generation doesn't respect C11 address-dependency)

2015-01-14  Andrew MacLeod  <amacleod@redhat.com>

PR middle-end/59448
* builtins.c (get_memmodel): Promote consume to acquire always.
* testsuite/gcc.dg/atomic-invalid.c: Remove obselete test for illegal
consume in an atomic_exchange.

From-SVN: r219601
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic-invalid.c