https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051
--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Martin Liška from comment #4) > Shouldn't the function check_effective_target_has_arch_pwr7 pass > -mcpu=native? No. It checks if the effective target (set by options elsewhere!) is power7 (or up). It does not test a feature of the hardware.