]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, sparc: Clean up SPARC option documentation [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Mon, 5 Jan 2026 01:09:22 +0000 (01:09 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 17 Jan 2026 21:20:49 +0000 (21:20 +0000)
gcc/ChangeLog
PR other/122243
* doc/invoke.texi (Option Summary) <SPARC Options>: Remove
redundant -mno- forms from the list.  Add -mptr32 and -mptr64.
(SPARC Options): Document -mptr32 and -mptr64.

gcc/doc/invoke.texi

index 0bdabf34517e858bb618124f29d616d1bbda7aef..676aa2ba668c158a490d01eb00001fbf8a11ad68 100644 (file)
@@ -1456,20 +1456,15 @@ See RS/6000 and PowerPC Options.
 -mtune=@var{cpu-type}
 -mcmodel=@var{code-model}
 -mmemory-model=@var{mem-model}
--m32  -m64  -mapp-regs  -mno-app-regs
--mfaster-structs  -mno-faster-structs  -mflat  -mno-flat
--mfpu  -mno-fpu  -mhard-float  -msoft-float
+-m32  -m64  -mptr32  -mptr64  -mapp-regs
+-mfaster-structs  -mflat
+-mfpu  -mhard-float  -msoft-float
 -mhard-quad-float  -msoft-quad-float
--mstack-bias  -mno-stack-bias
--mstd-struct-return  -mno-std-struct-return
--munaligned-doubles  -mno-unaligned-doubles
--muser-mode  -mno-user-mode
--mv8plus  -mno-v8plus  -mvis  -mno-vis
--mvis2  -mno-vis2
--mvis3  -mno-vis3  -mvis3b  -mno-vis3b
--mvis4  -mno-vis4  -mvis4b  -mno-vis4b
--mcbcond  -mno-cbcond  -mfmaf  -mno-fmaf  -mfsmuld  -mno-fsmuld
--mpopc  -mno-popc  -msubxc  -mno-subxc
+-mstack-bias  -mstd-struct-return
+-munaligned-doubles  -muser-mode
+-mv8plus  -mvis
+-mvis2  -mvis3  -mvis3b  -mvis4  -mvis4b
+-mcbcond  -mfmaf  -mfsmuld  -mpopc  -msubxc
 -mfix-at697f  -mfix-ut699  -mfix-ut700  -mfix-gr712rc}
 
 @emph{System V Options} (@ref{System V Options})
@@ -35214,6 +35209,13 @@ The 32-bit environment sets int, long and pointer to 32 bits.
 The 64-bit environment sets int to 32 bits and long and pointer
 to 64 bits.
 
+@opindex mptr32
+@opindex mptr64
+@item -mptr32
+@itemx -mptr64
+Use 32- or 64-bit pointers, respectively.  Unlike the @option{-m32} and
+@option{-m64} options, this affects only the pointer size and not the ABI.
+
 @opindex mcmodel=
 @item -mcmodel=@var{which}
 Set the code model to one of