nvptx.c (write_fn_proto): Handle BUILT_IN_ATOMIC_COMPARE_EXCHANGE_n oddity.
authorNathan Sidwell <nathan@acm.org>
Fri, 13 May 2016 12:57:50 +0000 (12:57 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 13 May 2016 12:57:50 +0000 (12:57 +0000)
commitac3d02e247208eff86d084d9f7517adc74f9751c
tree535c973833914e9b842a1784d581fbca1094544e
parent7549163c15796e33369661ea90cc6a6900d13fc2
nvptx.c (write_fn_proto): Handle BUILT_IN_ATOMIC_COMPARE_EXCHANGE_n oddity.

gcc/
* config/nvptx/nvptx.c (write_fn_proto): Handle
BUILT_IN_ATOMIC_COMPARE_EXCHANGE_n oddity.

gcc/testsuite/
* gcc.dg/atomic-noinline-aux.c: Include stddef.h. Fix
__atomic_is_lock_free declaration.

From-SVN: r236209
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic-noinline-aux.c