From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 1AE8E3858401; Thu, 1 Jun 2023 12:03:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AE8E3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685620981; bh=pfiwhqW5RbRWAu701YAS7zcSZORYWNn4FmXnLNgPM6w=; h=From:To:Subject:Date:From; b=uD/gMI6kSKzWELdNXSjrcXV744dAqCJbxvNzYMTwoi2WsAtOkdBdVn9KrJyxLEsa1 7VgNxgnofpOCs+gQ6X2deBkkYNtiK3+5Tezqd151UZHRDFLhZt/RNSbup4C5m65QV/ bHvj3SppdyAoWkEVgizPB17i5ZDXsjK6Kn3/ScAo= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org Subject: [gcc r10-11432] doc: Fix description of x86 -m32 option [PR109954] X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: 0304b121c687d897e0a79259e4dc477f733ecc22 X-Git-Newrev: bdd038cc1782b550b434a806ce995fc79f5d1f6b Message-Id: <20230601120301.1AE8E3858401@sourceware.org> Date: Thu, 1 Jun 2023 12:03:01 +0000 (GMT) List-Id: https://gcc.gnu.org/g:bdd038cc1782b550b434a806ce995fc79f5d1f6b commit r10-11432-gbdd038cc1782b550b434a806ce995fc79f5d1f6b Author: Jonathan Wakely 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 39ed6fcfb94..a2f05de39cf 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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.