]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Mark -foffload-abi and -foffload-abi-host-opts undocumented [PR67300]
authorSandra Loosemore <sloosemore@baylibre.com>
Mon, 19 Jan 2026 15:31:08 +0000 (15:31 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sun, 25 Jan 2026 20:46:38 +0000 (20:46 +0000)
These options are not useful to users; offload code generation assumes
that e.g.  pointer sizes are the same on both the host and offload compiler.

gcc/ChangeLog
PR other/67300
* common.opt (foffload-abi, foffload-abi-host-opts): Mark
"Undocumented".

gcc/common.opt

index 17ea2016282741649c38d96ecb7060c0067485ab..f54654cba1f676a9fd3ece13fb724159a42630c5 100644 (file)
@@ -2470,8 +2470,10 @@ foffload-options=
 Common Driver Joined RejectNegative MissingArgError(options or targets=options missing after %qs)
 -foffload-options=<targets>=<options>  Specify options for the offloading targets.
 
+; -foffload-abi is not useful to users because the host/offload
+; pointer sizes must match regardless.
 foffload-abi=
-Common Joined RejectNegative Enum(offload_abi)
+Common Undocumented Joined RejectNegative Enum(offload_abi)
 -foffload-abi=[lp64|ilp32]     Set the ABI to use in an offload compiler.
 
 Enum
@@ -2483,8 +2485,10 @@ Enum(offload_abi) String(ilp32) Value(OFFLOAD_ABI_ILP32)
 EnumValue
 Enum(offload_abi) String(lp64) Value(OFFLOAD_ABI_LP64)
 
+; -foffload-abi-host-opts is not useful to users because the host/offload
+; pointer sizes must match regardless.
 foffload-abi-host-opts=
-Common Joined RejectNegative MissingArgError(option missing after %qs)
+Common Undocumented Joined RejectNegative MissingArgError(option missing after %qs)
 -foffload-abi-host-opts=<options>      Specify host ABI options.
 
 fomit-frame-pointer