Commit fa13d9eb by Martin Liska Committed by Martin Liska

Document cloning for the target_clone attribute.

2020-01-07  Martin Liska  <mliska@suse.cz>

	PR ipa/83411
	* doc/extend.texi: Explain cloning for target_clone
	attribute.

From-SVN: r279948
parent a924bffb
2020-01-07 Martin Liska <mliska@suse.cz> 2020-01-07 Martin Liska <mliska@suse.cz>
PR ipa/83411
* doc/extend.texi: Explain cloning for target_clone
attribute.
2020-01-07 Martin Liska <mliska@suse.cz>
PR tree-optimization/92860 PR tree-optimization/92860
* common.opt: Make in Optimization option * common.opt: Make in Optimization option
as it is affected by -O0, which is an Optimization as it is affected by -O0, which is an Optimization
......
...@@ -3768,6 +3768,12 @@ the @code{ifunc} attribute above) that dynamically selects a clone ...@@ -3768,6 +3768,12 @@ the @code{ifunc} attribute above) that dynamically selects a clone
suitable for current architecture. The resolver is created only if there suitable for current architecture. The resolver is created only if there
is a usage of a function with @code{target_clones} attribute. is a usage of a function with @code{target_clones} attribute.
Note that any subsequent call of a function without @code{target_clone}
from a @code{target_clone} caller will not lead to copying
(target clone) of the called function.
If you want to enforce such behaviour,
we recommend declaring the calling function with the @code{flatten} attribute?
@item unused @item unused
@cindex @code{unused} function attribute @cindex @code{unused} function attribute
This attribute, attached to a function, means that the function is meant This attribute, attached to a function, means that the function is meant
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment