https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- > fixes the ICE, not sure if we should adjust the PARM_DECLs mode somewhere > in target cloning instead though? We can do that in create_target_clone which calls node->create_version_clone_with_body where a new function_decl is created. However, the following code does not work: for (tree arg = DECL_ARGUMENTS (new_node->decl); arg; arg = DECL_CHAIN (arg)) if (VECTOR_TYPE_P (TREE_TYPE (arg))) SET_DECL_MODE (arg, TYPE_MODE (TREE_TYPE (arg))); I'm curious about what needs to be changed once we can get a proper MODE for the new argument.