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) <case VECTOR_CST>: Use
	vector_cst_elt instead of VECTOR_CST_ENCODED_ELT.

From-SVN: r267760
This commit is contained in:
Jakub Jelinek 2019-01-09 11:24:43 +01:00 committed by Jakub Jelinek
parent a811a0a881
commit 5ed895a74a
2 changed files with 6 additions and 2 deletions

View 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

View 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;
}