[gcc r11-10838] doc: Fix description of x86 -m32 option [PR109954]
Jonathan Wakely
redi@gcc.gnu.org
Thu Jun 1 12:02:30 GMT 2023
https://gcc.gnu.org/g:8538e22f0004565bb95b10741bfd416961030f4c
commit r11-10838-g8538e22f0004565bb95b10741bfd416961030f4c
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Jun 1 11:30:10 2023 +0100
doc: Fix description of x86 -m32 option [PR109954]
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)
Diff:
---
gcc/doc/invoke.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f1217812280..fffa899585e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -31757,7 +31757,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.
More information about the Gcc-cvs
mailing list