mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-16 22:19:00 +00:00
8236856: AArch64: Spurious GCC warnings
Reviewed-by: adinn
This commit is contained in:
parent
984da450f2
commit
682af8be65
@ -55,9 +55,10 @@ inline T Atomic::PlatformXchg<byte_size>::operator()(T volatile* dest,
|
||||
return res;
|
||||
}
|
||||
|
||||
// __attribute__((unused)) on dest is to get rid of spurious GCC warnings.
|
||||
template<size_t byte_size>
|
||||
template<typename T>
|
||||
inline T Atomic::PlatformCmpxchg<byte_size>::operator()(T volatile* dest,
|
||||
inline T Atomic::PlatformCmpxchg<byte_size>::operator()(T volatile* dest __attribute__((unused)),
|
||||
T compare_value,
|
||||
T exchange_value,
|
||||
atomic_memory_order order) const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user