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-Tag: upstream/12.2.0~26908 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ed895a74a12da82d2adafda7e6196de8221ddd2;p=platform%2Fupstream%2Fgcc.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 4d2173f..b6550d9 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 f957e4c..132df55 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; }