slyfox      15/05/29 21:57:35

  Added:                enca-1.14-gcc4.8-avx-bug.patch
  Log:
  Workaround gcc-4.8 AVX bug #501386 by Thomas Capricelli and friends.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
611FF3AA)

Revision  Changes    Path
1.1                  app-i18n/enca/files/enca-1.14-gcc4.8-avx-bug.patch

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
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

Index: enca-1.14-gcc4.8-avx-bug.patch
===================================================================
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
   };




Reply via email to