https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96091

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Why should we not have a VECTOR_CST of POLY_INT_CST elements?  If POLY_INT_CST
is not "constant" then it shouldn't be tcc_constant?  Looks like

tree
vector_cst_elt (const_tree t, unsigned int i)
{
...
  /* Otherwise work out the value from the last two encoded elements.  */
  return wide_int_to_tree (TREE_TYPE (TREE_TYPE (t)),
                           vector_cst_int_elt (t, i));
}

should be using poly-ints and not wide-ints.  Richard?

Reply via email to