Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37040499
en ru br
Репозитории ALT
S:117.0.5938.132-alt1
3.0: 0.9.12-alt7
www.altlinux.org/Changes

Группа :: Сети/WWW
Пакет: chromium

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0014-ALT-Disable-NOMERGE-attribute.patch
Скачать


From 498299bceade0abc33ceae938d0770f11141d764 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Fri, 16 Apr 2021 12:03:08 +0300
Subject: [PATCH] ALT: Disable NOMERGE attribute
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 base/compiler_specific.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/compiler_specific.h b/base/compiler_specific.h
index d53387f3dbe..7c91bd3865b 100644
--- a/base/compiler_specific.h
+++ b/base/compiler_specific.h
@@ -358,21 +358,21 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
 
 #else  // !defined(__clang_analyzer__)
 
 #define ANALYZER_ASSUME_TRUE(arg) (arg)
 #define ANALYZER_SKIP_THIS_PATH()
 #define ANALYZER_ALLOW_UNUSED(var) static_cast<void>(var);
 
 #endif  // defined(__clang_analyzer__)
 
 // Use nomerge attribute to disable optimization of merging multiple same calls.
-#if defined(__clang__) && __has_attribute(nomerge)
+#if 0 && defined(__clang__) && __has_attribute(nomerge)
 #define NOMERGE [[clang::nomerge]]
 #else
 #define NOMERGE
 #endif
 
 // Marks a type as being eligible for the "trivial" ABI despite having a
 // non-trivial destructor or copy/move constructor. Such types can be relocated
 // after construction by simply copying their memory, which makes them eligible
 // to be passed in registers. The canonical example is std::unique_ptr.
 //
-- 
2.25.4
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin