From: Tobias Burnus Date: Wed, 30 Jun 2021 12:49:48 +0000 (+0200) Subject: gcc.c: Add -foffload= to display_help X-Git-Tag: basepoints/gcc-13~6383 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63fe82d80dee997b25ca60fa7d1ed07e97930976;p=thirdparty%2Fgcc.git gcc.c: Add -foffload= to display_help gcc/ChangeLog: * common.opt (foffload): Remove help as Driver only. * gcc.c (display_help): Add -foffload. --- diff --git a/gcc/common.opt b/gcc/common.opt index 2f5ff9f02e9f..5b03bbc66620 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2100,11 +2100,8 @@ fnon-call-exceptions Common Var(flag_non_call_exceptions) Optimization Support synchronous non-call exceptions. -; -foffload= is documented -; -foffload== is supported for backward compatibility foffload= Driver Joined MissingArgError(targets missing after %qs) --foffload= Specify offloading targets. foffload-options= Common Driver Joined MissingArgError(options or targets=options missing after %qs) diff --git a/gcc/gcc.c b/gcc/gcc.c index f802148e5677..c8dbff61307a 100644 --- 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= 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= Display the full path to library .\n"), stdout);