On Fri, 2022-04-22 at 07:09 +0000, Raut, S Biplab via Gcc-help wrote: > Hi All, > I want to support Function Multi Versioning (FMV) in my code > by using GCC's "target" attribute. > Few functions in my program are hand-written intrinsic codes, so I > would prefer to use "target" over "target_clones" attribute. > But, I am getting function redefinition errors for the multiple > versions of the function when I try to compile the test program. > > Please find the details below: > Source code is based on:- > https://gcc.gnu.org/wiki/FunctionMultiVersioning#:~:text=1%20__attribute__%20((target,return%200%3B%0A%20%2033%20%7D Please read the page carefully: "Support is only available in C++ for i386 targets." -- Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University