From: Sandra Loosemore Date: Mon, 19 Jan 2026 15:31:08 +0000 (+0000) Subject: doc: Mark -foffload-abi and -foffload-abi-host-opts undocumented [PR67300] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b038ec1dc349aadef9419001b579a0e00352b72;p=thirdparty%2Fgcc.git doc: Mark -foffload-abi and -foffload-abi-host-opts undocumented [PR67300] 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". --- diff --git a/gcc/common.opt b/gcc/common.opt index 17ea2016282..f54654cba1f 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2470,8 +2470,10 @@ foffload-options= Common Driver Joined RejectNegative MissingArgError(options or targets=options missing after %qs) -foffload-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= Specify host ABI options. fomit-frame-pointer