https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100547
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-05-12
Keywords| |accepts-invalid
Ever confirmed|0 |1
Component|middle-end |c
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that VECTOR_CST_NELTS does not fit 32bits but RTX vectors have int
sizes.
I suggest to limit the vector_size attribute argument accordingly.
Also a better failure mode might be to make the rtvec_alloc size argument
size_t and ICE on a size that doesn't fit an int rather than silently
truncating.