mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
re PR libstdc++/11062 (Please avoid __attribute__ ((unused)))
2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE> PR libstdc++/11062 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to __attribute__ ((__unused__)). * config/os/aix/atomicity.h: Likewise. From-SVN: r67340
This commit is contained in:
parent
b166bded9e
commit
cc9c608f08
@ -1,3 +1,10 @@
|
||||
2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
|
||||
|
||||
PR libstdc++/11062
|
||||
* config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
|
||||
__attribute__ ((__unused__)).
|
||||
* config/os/aix/atomicity.h: Likewise.
|
||||
|
||||
2003-06-02 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
PR libstdc++/9761
|
||||
|
@ -33,7 +33,7 @@
|
||||
typedef int _Atomic_word;
|
||||
|
||||
static inline int
|
||||
__attribute__ ((unused))
|
||||
__attribute__ ((__unused__))
|
||||
__exchange_and_add (volatile _Atomic_word *__mem, int __val)
|
||||
{
|
||||
int __result, __tmp;
|
||||
@ -59,7 +59,7 @@ __exchange_and_add (volatile _Atomic_word *__mem, int __val)
|
||||
}
|
||||
|
||||
static inline void
|
||||
__attribute__ ((unused))
|
||||
__attribute__ ((__unused__))
|
||||
__atomic_add (volatile _Atomic_word *__mem, int __val)
|
||||
{
|
||||
int __result;
|
||||
|
@ -43,14 +43,14 @@ typedef int _Atomic_word;
|
||||
#include <sys/atomic_op.h>
|
||||
|
||||
static inline int
|
||||
__attribute__ ((unused))
|
||||
__attribute__ ((__unused__))
|
||||
__exchange_and_add (atomic_p __mem, int __val)
|
||||
{
|
||||
return fetch_and_add (__mem, __val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
__attribute__ ((unused))
|
||||
__attribute__ ((__unused__))
|
||||
__atomic_add (atomic_p __mem, int __val)
|
||||
{
|
||||
(void) fetch_and_add (__mem, __val);
|
||||
|
Loading…
Reference in New Issue
Block a user