https://gcc.gnu.org/g:0928e08cd76d45fa0987d0376ff2675c80d6cca7

commit r16-6086-g0928e08cd76d45fa0987d0376ff2675c80d6cca7
Author: Sandra Loosemore <[email protected]>
Date:   Fri Dec 5 17:07:25 2025 +0000

    doc, m32r: Clean up documentation of M32R/D options [PR122243]
    
    gcc/ChangeLog
            PR other/122243
            * doc/invoke.texi (Option Summary) <M32R/D Options>: Remove
            redundant -mno entry.
            (M32R/D Options): Regularize form of @opindex entries for
            various options of the form -mfoo=@var{value}.  Combine
            the documentation for -malign-loops and -mno-align-loops.

Diff:
---
 gcc/doc/invoke.texi | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e01be3045702..91b03fb019e0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1173,7 +1173,7 @@ Objective-C and Objective-C++ Dialects}.
 @emph{M32R/D Options} (@ref{M32R/D Options})
 @gccoptlist{-m32r2  -m32rx  -m32r
 -mdebug
--malign-loops  -mno-align-loops
+-malign-loops
 -missue-rate=@var{number}
 -mbranch-cost=@var{number}
 -mmodel=@var{code-size-model-type}
@@ -29138,6 +29138,7 @@ Generate code for the M32R/X@.
 @item -m32r
 Generate code for the M32R@.  This is the default.
 
+@opindex mmodel
 @opindex mmodel=small
 @item -mmodel=small
 Assume all objects live in the lower 16MB of memory (so that their addresses
@@ -29162,6 +29163,7 @@ assume subroutines may not be reachable with the 
@code{bl} instruction
 (the compiler generates the much slower @code{seth/add3/jl}
 instruction sequence).
 
+@opindex msdata
 @opindex msdata=none
 @item -msdata=none
 Disable use of the small data area.  Variables are put into
@@ -29203,24 +29205,22 @@ Makes the M32R-specific code in the compiler display 
some statistics
 that might help in debugging programs.
 
 @opindex malign-loops
-@item -malign-loops
-Align all loops to a 32-byte boundary.
-
 @opindex mno-align-loops
-@item -mno-align-loops
-Do not enforce a 32-byte alignment for loops.  This is the default.
+@item -malign-loops
+@itemx -mno-align-loops
+Align all loops to a 32-byte boundary.  This option is disabled by default.
 
-@opindex missue-rate=@var{number}
+@opindex missue-rate
 @item -missue-rate=@var{number}
 Issue @var{number} instructions per cycle.  @var{number} can only be 1
 or 2.
 
-@opindex mbranch-cost=@var{number}
+@opindex mbranch-cost
 @item -mbranch-cost=@var{number}
 @var{number} can only be 1 or 2.  If it is 1 then branches are
 preferred over conditional code, if it is 2, then the opposite applies.
 
-@opindex mflush-trap=@var{number}
+@opindex mflush-trap
 @item -mflush-trap=@var{number}
 Specifies the trap number to use to flush the cache.  The default is
 12.  Valid numbers are between 0 and 15 inclusive.
@@ -29229,7 +29229,7 @@ Specifies the trap number to use to flush the cache.  
The default is
 @item -mno-flush-trap
 Specifies that the cache cannot be flushed by using a trap.
 
-@opindex mflush-func=@var{name}
+@opindex mflush-func
 @item -mflush-func=@var{name}
 Specifies the name of the operating system function to call to flush
 the cache.  The default is @samp{_flush_cache}, but a function call

Reply via email to