From 5ed895a74a12da82d2adafda7e6196de8221ddd2 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 9 Jan 2019 11:24:43 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 +++++- gcc/tree.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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; } -- 2.30.2