https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122180
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
Summary|[16 regression] compilation |[16 regression] compilation
|failure with target |failure with target
|attribute on x86_64 since |attribute with the C
|r16-4182-g73888cefe6da65 |front-end on x86_64 since
| |r16-4182-g73888cefe6da65
Target| |x86_64-linux-gnu
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So I think this is expected and is the reason why other targets don't use the
target attribute for function multi-versioning.