aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2021-07-09 08:26:15 +0100
committerSergei Trofimovich <siarheit@google.com>2021-07-09 08:49:49 +0100
commit840fabd8e0cd002c744adf219c64a672b0fa83b3 (patch)
treea7ca026aefb9f0396809d9b7c871db602155057c /gcc
parentb5405babd82b84a65efab4e59ffbf22c8c93ff53 (diff)
downloadgcc-840fabd8e0cd002c744adf219c64a672b0fa83b3.zip
gcc-840fabd8e0cd002c744adf219c64a672b0fa83b3.tar.gz
gcc-840fabd8e0cd002c744adf219c64a672b0fa83b3.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/md.texi9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 7a4d24e..0fe70b7 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)