i386.c (make_dispatcher_decl): Guard with ASM_OUTPUT_TYPE_DIRECTIVE and HAVE_GNU_INDIRECT_FUNCTION.

* config/i386/i386.c (make_dispatcher_decl): Guard with
	ASM_OUTPUT_TYPE_DIRECTIVE and HAVE_GNU_INDIRECT_FUNCTION.

From-SVN: r193261
This commit is contained in:
Gerald Pfeifer 2012-11-06 22:14:47 +00:00 committed by Gerald Pfeifer
parent 46ffb64d6c
commit 9422dd19d7
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-11-06 Gerald Pfeifer <gerald@pfeifer.com>
* config/i386/i386.c (make_dispatcher_decl): Guard with
ASM_OUTPUT_TYPE_DIRECTIVE and HAVE_GNU_INDIRECT_FUNCTION.
2012-11-06 Jan Hubicka <jh@suse.cz>
* ipa-inline-analysis.c (estimate_function_body_sizes,

View file

@ -28813,6 +28813,8 @@ make_name (tree decl, const char *suffix, bool make_unique)
return global_var_name;
}
#if defined (ASM_OUTPUT_TYPE_DIRECTIVE) && HAVE_GNU_INDIRECT_FUNCTION
/* Make a dispatcher declaration for the multi-versioned function DECL.
Calls to DECL function will be replaced with calls to the dispatcher
by the front-end. Return the decl created. */
@ -28850,6 +28852,8 @@ make_dispatcher_decl (const tree decl)
return func_decl;
}
#endif
/* Returns true if decl is multi-versioned and DECL is the default function,
that is it is not tagged with target specific optimization. */