https://gcc.gnu.org/g:24203ec8f1dbeefa62fc2082f9fe5e51b4e37aa4
commit r14-12387-g24203ec8f1dbeefa62fc2082f9fe5e51b4e37aa4 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 objc-cpp-output, objc++-cpp-output, adascil, adawhy, modula-2, modula-2-cpp-output, rust and lto as further possible option arguments. (cherry picked from commit 4f1bde997f5bbf57b4b22c1d73271bca0b11aeb8) Diff: --- gcc/doc/invoke.texi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0a07386fd3d9..c876183ea419 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1677,13 +1677,17 @@ 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 +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 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 +lto @end smallexample @item -x none
