public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] docs: Fix peephole paragraph ordering
@ 2022-12-22 17:06 Andrew Carlotti
  2022-12-22 17:15 ` Andrew Carlotti
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Carlotti @ 2022-12-22 17:06 UTC (permalink / raw)
  To: gcc-patches

The documentation for the DONE and FAIL macros was incorrectly inserted
between example code, and a remark attached to that example.

Committed as obvious.

gcc/ChangeLog:

	* doc/md.texi: Move example code remark next to it's code block.

---

diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 482e86f15d8b312c67d4962510ce879fb5cbc541..78dc6d720700ca409677e44a34a60d4b7fceb046 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -1511,7 +1511,7 @@ operand 1 (meaning it must match operand 0), and @samp{dKs} for operand
 2.  The second alternative has @samp{d} (data register) for operand 0,
 @samp{0} for operand 1, and @samp{dmKs} for operand 2.  The @samp{=} and
 @samp{%} in the constraints apply to all the alternatives; their
-meaning is explained in the next section (@pxref{Class Preferences}).
+meaning is explained in a later section (@pxref{Modifiers}).
 
 If all the operands fit any one alternative, the instruction is valid.
 Otherwise, for each alternative, the compiler counts how many instructions

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-22 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 17:06 [committed] docs: Fix peephole paragraph ordering Andrew Carlotti
2022-12-22 17:15 ` Andrew Carlotti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).