Hi Joseph,
Thank you for the review and nice to meet you.
@@ -3191,6 +3240,14 @@ duplicate_decls (tree newdecl, tree olddecl)
return false;
}
+ /* If both new and old are Function Multi Versioned functions then they are
+ not duplicates. */
+ if (TREE_CODE (newdecl) == FUNCTION_
On Thu, 24 Oct 2024, alfie.richa...@arm.com wrote:
> - if (DECL_INITIAL (newdecl))
> + if ((DECL_INITIAL (newdecl) || DECL_EXTERNAL (newdecl))
> + && (DECL_INITIAL (olddecl) || DECL_EXTERNAL (olddecl))
> + && targetm.target_option.function_versions (newdecl, olddecl))
> +