]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.c: Add -foffload= to display_help
authorTobias Burnus <tobias@codesourcery.com>
Wed, 30 Jun 2021 12:49:48 +0000 (14:49 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 30 Jun 2021 12:51:22 +0000 (14:51 +0200)
gcc/ChangeLog:

* common.opt (foffload): Remove help as Driver only.
* gcc.c (display_help): Add -foffload.

gcc/common.opt
gcc/gcc.c

index 2f5ff9f02e9f64fe813a611baf37d616244a6cd1..5b03bbc66620fa5d9145cd8635ffa7c0deca11dc 100644 (file)
@@ -2100,11 +2100,8 @@ fnon-call-exceptions
 Common Var(flag_non_call_exceptions) Optimization
 Support synchronous non-call exceptions.
 
-; -foffload=<targets> is documented
-; -foffload=<targets>=<options> is supported for backward compatibility
 foffload=
 Driver Joined MissingArgError(targets missing after %qs)
--foffload=<targets>    Specify offloading targets.
 
 foffload-options=
 Common Driver Joined MissingArgError(options or targets=options missing after %qs)
index f802148e56777a5e28701c729c9f7067fe7b4c47..c8dbff61307ae566e07d91e88d839cc26719f51c 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3752,6 +3752,7 @@ display_help (void)
   fputs (_("  -dumpspecs               Display all of the built in spec strings.\n"), stdout);
   fputs (_("  -dumpversion             Display the version of the compiler.\n"), stdout);
   fputs (_("  -dumpmachine             Display the compiler's target processor.\n"), stdout);
+  fputs (_("  -foffload=<targets>      Specify offloading targets.\n"), stdout);
   fputs (_("  -print-search-dirs       Display the directories in the compiler's search path.\n"), stdout);
   fputs (_("  -print-libgcc-file-name  Display the name of the compiler's companion library.\n"), stdout);
   fputs (_("  -print-file-name=<lib>   Display the full path to library <lib>.\n"), stdout);