$OpenBSD: patch-base_compiler_specific_h,v 1.7 2021/11/16 11:28:45 robert Exp $

Index: base/compiler_specific.h
--- base/compiler_specific.h.orig
+++ base/compiler_specific.h
@@ -365,7 +365,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
 #endif  // defined(__clang_analyzer__)
 
 // Use nomerge attribute to disable optimization of merging multiple same calls.
-#if defined(__clang__) && __has_attribute(nomerge)
+#if defined(__clang__) && __has_attribute(nomerge) && !defined(OS_BSD)
 #define NOMERGE [[clang::nomerge]]
 #else
 #define NOMERGE
