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

--- Comment #8 from Richard Sandiford <rsandifo at gcc dot gnu.org> ---
> I don't know if this kind of -msve-vector-bits calling is supported,

IMO no.  The -msve-vector-bits setting is assumed to be fixed throughout
compilation.  It's for that reason that we don't support setting the vector
length using a function attribute.

> but it doesn't ICE without LTO so if it's not supported we should
> at least have a way of gracefully erroring out

Agreed.

Reply via email to