2021-10-29 15:07:29 +00:00
|
|
|
From 895dec8c2d626f176cb85af81c09c7bf30e2ad43 Mon Sep 17 00:00:00 2001
|
2019-07-01 14:16:10 +00:00
|
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
Date: Mon, 1 Jul 2019 07:10:36 -0600
|
2021-10-29 15:07:29 +00:00
|
|
|
Subject: [PATCH 2/4] Fix ARM skia ICE
|
2019-07-01 14:16:10 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
chromium/third_party/skia/third_party/skcms/src/Transform_inl.h | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h b/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h
|
2021-03-07 23:21:58 +00:00
|
|
|
index 2dcf717f3b7..8e1acb01fee 100644
|
2019-07-01 14:16:10 +00:00
|
|
|
--- a/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h
|
|
|
|
+++ b/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h
|
2021-03-07 23:21:58 +00:00
|
|
|
@@ -687,7 +687,7 @@ SI void sample_clut_16(const skcms_A2B* a2b, I32 ix, F* r, F* g, F* b) {
|
2019-07-01 14:16:10 +00:00
|
|
|
// GCC 7.2.0 hits an internal compiler error with -finline-functions (or -O3)
|
2019-12-22 22:49:11 +00:00
|
|
|
// when targeting MIPS 64, i386, or s390x, I think attempting to inline clut() into exec_ops().
|
|
|
|
#if 1 && defined(__GNUC__) && !defined(__clang__) \
|
|
|
|
- && (defined(__mips64) || defined(__i386) || defined(__s390x__))
|
|
|
|
+ && (defined(__mips64) || defined(__i386) || defined(__s390x__) || defined(__arm__))
|
2019-07-01 14:16:10 +00:00
|
|
|
#define MAYBE_NOINLINE __attribute__((noinline))
|
|
|
|
#else
|
|
|
|
#define MAYBE_NOINLINE
|
|
|
|
--
|
2021-10-17 19:47:38 +00:00
|
|
|
2.33.0
|
2019-07-01 14:16:10 +00:00
|
|
|
|