https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121412
--- Comment #9 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 6 Aug 2025, rsandifo at gcc dot gnu.org wrote: > 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. So there's merge_and_complain in lto-wrapper, I guess we'd need a new target hook/macro implemented in common/config/.../ that we can defer LTO option merging to.