--- - branch: MAIN date: Wed Apr 5 07:41:38 UTC 2023 files: - new: '1.9' old: '1.8' path: src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_mutex.h pathrev: src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_mutex.h@1.9 type: modified id: 20230405T074138Z.5505ee3a424222fb417e56c02bcf5e120620357a log: | Fix StaticSpinMutex::CheckLocked() on sparc32. The lock gets set with atomic_exchange() -> __sync_lock_test_and_set() which sets the value to 255 instead of 1. Check for a taken lock with "!= 0" instead of "== 1". This should work on all architectures. Ok: Matthew Green module: src subject: 'CVS commit: src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common' unixtime: '1680680498' user: hannken