re PR middle-end/88758 (186.crafty in SPEC CPU 2000 failed to build)
authorJakub Jelinek <jakub@redhat.com>
Wed, 9 Jan 2019 10:24:43 +0000 (11:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 9 Jan 2019 10:24:43 +0000 (11:24 +0100)
PR middle-end/88758
* tree.c (initializer_each_zero_or_onep) <case VECTOR_CST>: Use
vector_cst_elt instead of VECTOR_CST_ENCODED_ELT.

From-SVN: r267760

gcc/ChangeLog
gcc/tree.c

index 4d2173fc7424c16bafd25e23c43062e6d5f95131..b6550d9a8071ee0248143275f9b46e26686f6c06 100644 (file)
@@ -1,4 +1,8 @@
-2019-01-09  Jakub Jelinek  <jakub@redhat.com>
+2019-01-09  Jelinek  <jakub@redhat.com>
+
+       PR middle-end/88758
+       * tree.c (initializer_each_zero_or_onep) <case VECTOR_CST>: Use
+       vector_cst_elt instead of VECTOR_CST_ENCODED_ELT.
 
        PR rtl-optimization/88331
        * function.c (assign_stack_local_1): Don't set dynamic_align_addr if
index f957e4c1d48eccd9330e968b153fc71687914bd5..132df552c68c29330e88e82453079eae83d05fa4 100644 (file)
@@ -11255,7 +11255,7 @@ initializer_each_zero_or_onep (const_tree expr)
 
        for (unsigned int i = 0; i < nelts; ++i)
          {
-           tree elt = VECTOR_CST_ENCODED_ELT (expr, i);
+           tree elt = vector_cst_elt (expr, i);
            if (!initializer_each_zero_or_onep (elt))
              return false;
          }