The NoOffload flag was introduced recently (commit "Don't pass vector params
through to offload targets").

gcc/ChangeLog:

        * doc/options.texi: Document NoOffload.
---
 gcc/doc/options.texi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index b46b9977da8..25cd2bcb797 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -529,6 +529,12 @@ code generation.
 @item Param
 This is an option that is a parameter.
 
+@item NoOffload
+This option will not be passed through from the host compiler to any offload
+target compilers via the LTO mechanism.  It is intended for use with
+optimization tuning parameters where settings appropriate for the host system
+are likely to harm the performance of the offload device.
+
 @item Undocumented
 The option is deliberately missing documentation and should not
 be included in the @option{--help} output.
-- 
2.50.0

Reply via email to