]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: List more valid -x option arguments
authorJakub Jelinek <jakub@redhat.com>
Fri, 9 Jan 2026 19:45:09 +0000 (20:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Jan 2026 19:45:09 +0000 (20:45 +0100)
We miss quite a few -x option arguments that can be specified.

2026-01-09  Jakub Jelinek  <jakub@redhat.com>

* doc/invoke.texi (-x): Add c++-system-module, objc-cpp-output,
objc++-cpp-output, adascil, adawhy, modula-2, modula-2-cpp-output,
rust, algol68 and lto as further possible option arguments.

gcc/doc/invoke.texi

index 6e6969f96b62bbc868f4c125e58ae3dd238e8cb4..525d8fec5dc3fb9c22129bbc277bf002061787f3 100644 (file)
@@ -1752,14 +1752,20 @@ the next @option{-x} option.  Possible values for @var{language} are:
 @smallexample
 c  c-header  cpp-output
 c++  c++-header  c++-system-header c++-user-header c++-cpp-output
-objective-c  objective-c-header  objective-c-cpp-output
-objective-c++ objective-c++-header objective-c++-cpp-output
+c++-system-module
+objective-c  objective-c-header  objective-c-cpp-output  objc-cpp-output
+objective-c++  objective-c++-header  objective-c++-cpp-output
+objc++-cpp-output
 assembler  assembler-with-cpp
-ada
+ada  adascil  adawhy
 cobol
 d
-f77  f77-cpp-input f95  f95-cpp-input
+f77  f77-cpp-input  f95  f95-cpp-input
 go
+modula-2  modula-2-cpp-output
+rust
+algol68
+lto
 @end smallexample
 
 Note that @option{-x} does not imply a particular language standard.