Work around another GCC ICE on arm
authorMike Hommey <mh@glandium.org>
Fri, 6 Dec 2019 23:32:14 +0000 (08:32 +0900)
committerMike Hommey <glandium@debian.org>
Tue, 2 Jun 2020 21:11:28 +0000 (22:11 +0100)
Gbp-Pq: Topic porting
Gbp-Pq: Name Work-around-another-GCC-ICE-on-arm.patch

gfx/skia/skia/third_party/skcms/src/Transform_inl.h

index 568270a71d18fb05431ff1a8b77c6f1611053dd6..e1d9195f9120c95d05becd3a3a1d7b73b72d5e03 100644 (file)
@@ -561,7 +561,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,  I think attempting to inline clut() into exec_ops().
 // s390x and i*86 also hit this with GCC 7.4 and -O2
-#if 1 && defined(__GNUC__) && !defined(__clang__) && (defined(__mips__) || defined(__s390x__) || defined(__i586__) || defined(__i486__) || defined(__i386__))
+#if 1 && defined(__GNUC__) && !defined(__clang__) && (defined(__arm__) || defined(__aarch64__) || defined(__mips__) || defined(__s390x__) || defined(__i586__) || defined(__i486__) || defined(__i386__))
     #define MAYBE_NOINLINE __attribute__((noinline))
 #else
     #define MAYBE_NOINLINE