https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107304
--- Comment #14 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to H.J. Lu from comment #12) > (In reply to Hongyu Wang from comment #10) > > > > Clang works properly as it overrides -march= to any target clones. I suppose > > we can do similar things in ix86_valid_target_attribute_p > > That will be wrong since target attribute can be used to disable vector > instructions. But target_clones can't? https://godbolt.org/z/jn6GMrdsb