https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101696
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It doesn't work this way, see the target_clones and ifunc attribute documentation. You could eventually use __builtin_cpu_is or __builtin_cpu_supports.