From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-i18n/enca/files: enca-1.14-gcc4.8-avx-bug.patch |
Date: | Fri, 29 May 2015 21:57:41 |
Message-Id: | 20150529215735.56C8BA0B@oystercatcher.gentoo.org |
1 | slyfox 15/05/29 21:57:35 |
2 | |
3 | Added: enca-1.14-gcc4.8-avx-bug.patch |
4 | Log: |
5 | Workaround gcc-4.8 AVX bug #501386 by Thomas Capricelli and friends. |
6 | |
7 | (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-i18n/enca/files/enca-1.14-gcc4.8-avx-bug.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/files/enca-1.14-gcc4.8-avx-bug.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/enca/files/enca-1.14-gcc4.8-avx-bug.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: enca-1.14-gcc4.8-avx-bug.patch |
16 | =================================================================== |
17 | Avoid gcc-4.8.4 bug when built with -O3 -march=core-avx2 |
18 | https://bugs.gentoo.org/501386 |
19 | diff --git a/lib/multibyte.c b/lib/multibyte.c |
20 | index d0d0680..d511f88 100644 |
21 | --- a/lib/multibyte.c |
22 | +++ b/lib/multibyte.c |
23 | @@ -520,7 +520,7 @@ looks_like_ucs2(EncaAnalyserState *analyser) |
24 | static int |
25 | looks_like_ucs4(EncaAnalyserState *analyser) |
26 | { |
27 | - static const EncaSurface PERMS[] = { |
28 | + /*static*/ const EncaSurface PERMS[] = { |
29 | ENCA_SURFACE_PERM_4321, |
30 | ENCA_SURFACE_PERM_21 |
31 | }; |