https://gcc.gnu.org/g:4f1bde997f5bbf57b4b22c1d73271bca0b11aeb8
commit r16-6660-g4f1bde997f5bbf57b4b22c1d73271bca0b11aeb8 Author: Jakub Jelinek <[email protected]> Date: Fri Jan 9 20:45:09 2026 +0100 doc: List more valid -x option arguments We miss quite a few -x option arguments that can be specified. 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. Diff: --- gcc/doc/invoke.texi | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6e6969f96b62..525d8fec5dc3 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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.
