The documentation for aarch64's -mtrack-speculation referred to the
builtin function __builtin_speculation_safe_copy, but the actual
function name is __builtin_speculation_safe_value.

Committed as obvious.

gcc/ChangeLog:

        * doc/invoke.texi: Fix incorrect function name.


diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 
a25b43b3e85c645925292a2db32ff0c6f626e3a4..e55797788d02db379d76d8ea4722f78c7acaec50
 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -22634,7 +22634,7 @@ single precision and to 32 bits for double precision.
 Enable or disable generation of additional code to track speculative
 execution through conditional branches.  The tracking state can then
 be used by the compiler when expanding calls to
-@code{__builtin_speculation_safe_copy} to permit a more efficient code
+@code{__builtin_speculation_safe_value} to permit a more efficient code
 sequence to be generated.
 
 @opindex moutline-atomics

Reply via email to