From 0d261f406d7c8f70b4ad7ca7d9247da1db3dfb41 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Tue, 4 Aug 2015 12:02:10 -0400 Subject: tilepro: fix warnings in sysdeps/tile/tilepro/bits/atomic.h Using a ({ }) structure avoids the "value computed is not used" that a simple () structure causes. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3cf69712ad..17caaf3e91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-08-04 Chris Metcalf + + * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update): + Restructure macro to avoid "value computed is not used" warning. + (atomic_compare_and_exchange_val_acq): Likewise. + 2015-08-04 Andreas Schwab [BZ #18635] -- cgit 1.4.1