summaryrefslogtreecommitdiff
path: root/librewolf/debian/patches/porting/Work-around-GCC-ICE-on-mips-i386-and-s390x.patch
blob: 008994765ea2ec6844c5ab06790d910489b3f199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Mike Hommey <mh@glandium.org>
Date: Fri, 12 Jul 2019 18:28:34 +0900
Subject: Work around GCC ICE on mips*, i386 and s390x

Closes: #931757
---
 gfx/skia/skia/third_party/skcms/src/Transform_inl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gfx/skia/skia/third_party/skcms/src/Transform_inl.h b/gfx/skia/skia/third_party/skcms/src/Transform_inl.h
index c4b3122..cfaae3e 100644
--- a/gfx/skia/skia/third_party/skcms/src/Transform_inl.h
+++ b/gfx/skia/skia/third_party/skcms/src/Transform_inl.h
@@ -685,7 +685,7 @@ SI void sample_clut_16(const skcms_A2B* a2b, I32 ix, F* r, F* g, F* b) {
 // GCC 7.2.0 hits an internal compiler error with -finline-functions (or -O3)
 // 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(__mips__) || defined(__i386) || defined(__s390x__))
     #define MAYBE_NOINLINE __attribute__((noinline))
 #else
     #define MAYBE_NOINLINE
bgstack15