From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7819) id 96745387742D; Fri, 9 Jul 2021 07:50:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96745387742D MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Sergei Trofimovich To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-2187] docs: don't split @smallexample in multiple @groups X-Act-Checkin: gcc X-Git-Author: Sergei Trofimovich X-Git-Refname: refs/heads/master X-Git-Oldrev: b5405babd82b84a65efab4e59ffbf22c8c93ff53 X-Git-Newrev: 840fabd8e0cd002c744adf219c64a672b0fa83b3 Message-Id: <20210709075020.96745387742D@sourceware.org> Date: Fri, 9 Jul 2021 07:50:20 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2021 07:50:20 -0000 https://gcc.gnu.org/g:840fabd8e0cd002c744adf219c64a672b0fa83b3 commit r12-2187-g840fabd8e0cd002c744adf219c64a672b0fa83b3 Author: Sergei Trofimovich Date: Fri Jul 9 08:26:15 2021 +0100 docs: don't split @smallexample in multiple @groups Noticed multiple groups split in HTML documentation where example was written in two columns: "" " (define_expand "addsi3" { [(match_operand:SI 0 "register_operand" "") handle_add (... (match_operand:SI 1 "register_operand" "") DONE; (match_operand:SI 2 "register_operand" "")] }") The change uses single @group/@endgroup to prevent such break. gcc/ChangeLog: * doc/md.texi: Don't split @smallexample in multiple @groups. Diff: --- gcc/doc/md.texi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 7a4d24ead90..0fe70b7ea40 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -8455,8 +8455,6 @@ list of operands, such as this example: [(match_operand:SI 0 "register_operand" "") (match_operand:SI 1 "register_operand" "") (match_operand:SI 2 "register_operand" "")] -@end group -@group "" " @{ @@ -8473,17 +8471,10 @@ Here is an example, the definition of left-shift for the SPUR chip: (define_expand "ashlsi3" [(set (match_operand:SI 0 "register_operand" "") (ashift:SI -@end group -@group (match_operand:SI 1 "register_operand" "") (match_operand:SI 2 "nonmemory_operand" "")))] "" " -@end group -@end smallexample - -@smallexample -@group @{ if (GET_CODE (operands[2]) != CONST_INT || (unsigned) INTVAL (operands[2]) > 3)