diff options
author | Marek Polacek <polacek@redhat.com> | 2016-01-04 12:27:08 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-01-04 12:27:08 +0000 |
commit | 2fe0a2080e33f946fc685c1a0518e438f642d8f9 (patch) | |
tree | afd3c3142238b8e1226bab23d98cc2a9cf3b1cd9 /contrib | |
parent | 8db883aa82562867eba7e8a82b34ed70204bad6b (diff) | |
download | gcc-2fe0a2080e33f946fc685c1a0518e438f642d8f9.zip gcc-2fe0a2080e33f946fc685c1a0518e438f642d8f9.tar.gz gcc-2fe0a2080e33f946fc685c1a0518e438f642d8f9.tar.bz2 |
re PR c/68908 (inefficient code for _Atomic operations)
PR c/68908
* c-typeck.c (build_atomic_assign): Improve commentary. Add
optimization to use __atomic_fetch_* built-in if possible.
* gcc.dg/atomic/c11-atomic-exec-6.c: New test.
* gcc.dg/atomic/c11-atomic-exec-7.c: New test.
* gcc.dg/atomic/stdatomic-op-5.c: New test.
From-SVN: r232052
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions