]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After r364753, there should be no need to suppress -Watomic-alignment
authordim <dim@FreeBSD.org>
Tue, 25 Aug 2020 19:57:11 +0000 (19:57 +0000)
committerdim <dim@FreeBSD.org>
Tue, 25 Aug 2020 19:57:11 +0000 (19:57 +0000)
commit013bdfdb0154c8bef88fed805fd39f670ea1e785
treed01bae6acc6170c1f933b3c16724ae59e955b32c
parent997f6abfca1084b5685d312cddca0a906c02e478
After r364753, there should be no need to suppress -Watomic-alignment
warnings anymore for compiler-rt's atomic.c. This occurred because the
IS_LOCK_FREE_8 macro was not correctly defined to 0 for mips, and this
caused the compiler to emit a runtime call to __atomic_is_lock_free(),
and that triggers the warning.

MFC after: 2 weeks
X-MFC-With: r364753
lib/libcompiler_rt/Makefile.inc