https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257
Tamar Christina <tnfchris at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org Last reconfirmed| |2025-01-10 Ever confirmed|0 |1 --- Comment #7 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Confirmed, The reason -mcpu=native doesn't work is because it's a big.LITTLE system, on big little with two unknown CPUs we don't enable the fallback. The reason -mcpu=native -march=native works is the native detection fills the info structs and we enter /* Simple case, one core type or just looking for the arch. */ if (n_cores == 1 || arch) which makes it behave like a homogonous system. On big.LITTLE the big and little cores should have the same features, so we can more the check outside that if. Mine.