]> 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 12:02:45 +0000 (13:02 +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.

(cherry picked from commit eeb92704967875411416b0b9508aa6f49e8192fd)

gcc/doc/invoke.texi

index 39ed6fcfb94e177d40762b4a8e5645fc42a456b3..a2f05de39cf856f253de79219faead35dbf53e34 100644 (file)
@@ -30278,7 +30278,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.