https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100246

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
Alan Modra posted the following alternate patch (which I will test with a
clang-3.5 bootstrap):

diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 97d6f3863cb..cc3b1b6d666 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -73,8 +73,8 @@ struct stringop_algs
{
  const enum stringop_alg unknown_size;
  const struct stringop_strategy {
-    const int max;
-    const enum stringop_alg alg;
+    int max;
+    enum stringop_alg alg;
    int noalign;
  } size [MAX_STRINGOP_ALGS];
};

Reply via email to