middle-end/98726 - fix VECTOR_CST element access
authorRichard Biener <rguenther@suse.de>
Tue, 26 Jan 2021 12:32:27 +0000 (13:32 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 26 Jan 2021 13:27:04 +0000 (14:27 +0100)
commit4b59dbb5d6759e43bfa23161a8d3feb9ae969e1a
tree1885647ed7b37d416eae98e739afd4cd90fa7f27
parent2e81b16c24367d7cc92f6d369606dca5575f6b5f
middle-end/98726 - fix VECTOR_CST element access

This fixes VECTOR_CST element access with POLY_INT elements and
allows to produce dump files of the PR98726 testcase without
ICEing.

2021-01-26  Richard Biener  <rguenther@suse.de>

PR middle-end/98726
* tree.h (vector_cst_int_elt): Remove.
* tree.c (vector_cst_int_elt): Use poly_wide_int for computations,
make static.
gcc/tree.c
gcc/tree.h