You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/enca/files/enca-1.14-gcc4.8-avx-bug.patch

16 lines
480 B

Avoid gcc-4.8.4 bug when built with -O3 -march=core-avx2
https://bugs.gentoo.org/501386
diff --git a/lib/multibyte.c b/lib/multibyte.c
index d0d0680..d511f88 100644
--- a/lib/multibyte.c
+++ b/lib/multibyte.c
@@ -520,7 +520,7 @@ looks_like_ucs2(EncaAnalyserState *analyser)
static int
looks_like_ucs4(EncaAnalyserState *analyser)
{
- static const EncaSurface PERMS[] = {
+ /*static*/ const EncaSurface PERMS[] = {
ENCA_SURFACE_PERM_4321,
ENCA_SURFACE_PERM_21
};