aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-06-30 13:17:54 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-06-30 13:17:54 +0200
commita3ce7d75dd9c0308b8565669f31127436cb2ba9f (patch)
tree72e34e5db6d6b8afe4d8199acc46eabf9a3ea649 /gcc/common.opt
parent0a9d038ec10aa0d109ca965cc435934bfea92d14 (diff)
downloadgcc-a3ce7d75dd9c0308b8565669f31127436cb2ba9f.zip
gcc-a3ce7d75dd9c0308b8565669f31127436cb2ba9f.tar.gz
gcc-a3ce7d75dd9c0308b8565669f31127436cb2ba9f.tar.bz2
gcc.c's check_offload_target_name: Fixes to inform hints
gcc/ChangeLog: * gcc.c (close_at_file, execute): Replace alloca by XALLOCAVEC. (check_offload_target_name): Fix splitting OFFLOAD_TARGETS into a candidate list; better inform no offload target is configured and fix hint extraction when passed target is not '\0' at [len]. * common.opt (foffload): Add tailing '.'. (foffload-options): Likewise; fix flag name in the help string.
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index eaee74c..2f5ff9f 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2104,11 +2104,11 @@ Support synchronous non-call exceptions.
; -foffload=<targets>=<options> is supported for backward compatibility
foffload=
Driver Joined MissingArgError(targets missing after %qs)
--foffload=<targets> Specify offloading targets
+-foffload=<targets> Specify offloading targets.
foffload-options=
Common Driver Joined MissingArgError(options or targets=options missing after %qs)
--foffload=<targets>=<options> Specify options for the offloading targets
+-foffload-options=<targets>=<options> Specify options for the offloading targets.
foffload-abi=
Common Joined RejectNegative Enum(offload_abi) Var(flag_offload_abi) Init(OFFLOAD_ABI_UNSET)