Hi!

We miss quite a few -x option arguments that can be specified.

Ok for trunk?

2026-01-09  Jakub Jelinek  <[email protected]>

        * 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.jj      2026-01-08 23:03:09.033192096 +0100
+++ gcc/doc/invoke.texi 2026-01-09 19:00:48.823455681 +0100
@@ -1752,14 +1752,19 @@ the next @option{-x} option.  Possible v
 @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
 go
+modula-2  modula-2-cpp-output
+rust
+algol68
+lto
 @end smallexample
 
 Note that @option{-x} does not imply a particular language standard.

        Jakub

Reply via email to