https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107304
--- Comment #6 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Hongtao.liu from comment #5) > (In reply to H.J. Lu from comment #4) > > Since the default is -march=tigerlake, it enables AVX512 in the middle end. > > When "arch=alderlake" disables AVX512, we fails to expand AVX512 to > > non-AVX512 > > ISAs. It means that target_clones can't be more restrictive than the > > default. We > > should provide better diagnostics. > > Is there any place checking ISA difference for target_clones? ix86_valid_target_attribute_inner_p?