]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix description of x86 -m32 option [PR109954]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 1 Jun 2023 10:30:10 +0000 (11:30 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 1 Jun 2023 11:01:09 +0000 (12:01 +0100)
This option does not imply -march=i386 so it's incorrect to say it
generates code that will run on "any i386 system".

gcc/ChangeLog:

PR target/109954
* doc/invoke.texi (x86 Options): Fix description of -m32 option.

gcc/doc/invoke.texi

index 898a88ce33e84f0c4e4a8da0e694018c7ca4f533..ec71c2e9e0f3991afcc35bef4108759a3d705243 100644 (file)
@@ -34091,7 +34091,7 @@ on x86-64 processors in 64-bit environments.
 Generate code for a 16-bit, 32-bit or 64-bit environment.
 The @option{-m32} option sets @code{int}, @code{long}, and pointer types
 to 32 bits, and
-generates code that runs on any i386 system.
+generates code that runs in 32-bit mode.
 
 The @option{-m64} option sets @code{int} to 32 bits and @code{long} and pointer
 types to 64 bits, and generates code for the x86-64 architecture.