From: Jakub Jelinek Date: Wed, 9 Jan 2019 10:24:43 +0000 (+0100) Subject: re PR middle-end/88758 (186.crafty in SPEC CPU 2000 failed to build) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ed895a74a12da82d2adafda7e6196de8221ddd2;p=gcc.git re PR middle-end/88758 (186.crafty in SPEC CPU 2000 failed to build) PR middle-end/88758 * tree.c (initializer_each_zero_or_onep) : Use vector_cst_elt instead of VECTOR_CST_ENCODED_ELT. From-SVN: r267760 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4d2173fc742..b6550d9a807 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,8 @@ -2019-01-09 Jakub Jelinek +2019-01-09 Jelinek + + PR middle-end/88758 + * tree.c (initializer_each_zero_or_onep) : 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 diff --git a/gcc/tree.c b/gcc/tree.c index f957e4c1d48..132df552c68 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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; }