public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] jit,docs: shorten assembly output
Date: Tue, 26 Jul 2022 08:42:29 +0200	[thread overview]
Message-ID: <6d6b4928-d461-0858-1045-feb324531efb@suse.cz> (raw)

Shorten the assembly example so that there is not slider.

Ready for master?
Thanks,
Martin

gcc/jit/ChangeLog:

	* docs/cp/intro/tutorial02.rst:
	Shorten the assembly example so that there is not slider.
	* docs/cp/intro/tutorial04.rst: Likewise.
	* docs/intro/tutorial02.rst: Likewise.
	* docs/intro/tutorial04.rst: Likewise.
	* docs/topics/contexts.rst: Likewise.
---
 gcc/jit/docs/cp/intro/tutorial02.rst | 4 ++--
 gcc/jit/docs/cp/intro/tutorial04.rst | 2 +-
 gcc/jit/docs/intro/tutorial02.rst    | 4 ++--
 gcc/jit/docs/intro/tutorial04.rst    | 2 +-
 gcc/jit/docs/topics/contexts.rst     | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/gcc/jit/docs/cp/intro/tutorial02.rst b/gcc/jit/docs/cp/intro/tutorial02.rst
index 2064f8e4dd9..03643566f27 100644
--- a/gcc/jit/docs/cp/intro/tutorial02.rst
+++ b/gcc/jit/docs/cp/intro/tutorial02.rst
@@ -286,7 +286,7 @@ before compiling:
         .cfi_endproc
   .LFE6:
         .size   square, .-square
-        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)"
+        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
         .section       .note.GNU-stack,"",@progbits
 
 By default, no optimizations are performed, the equivalent of GCC's
@@ -315,7 +315,7 @@ By default, no optimizations are performed, the equivalent of GCC's
         .cfi_endproc
   .LFE7:
         .size   square, .-square
-        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)"
+        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
         .section        .note.GNU-stack,"",@progbits
 
 Naturally this has only a small effect on such a trivial function.
diff --git a/gcc/jit/docs/cp/intro/tutorial04.rst b/gcc/jit/docs/cp/intro/tutorial04.rst
index 45198ce3d7a..0a7cabfc037 100644
--- a/gcc/jit/docs/cp/intro/tutorial04.rst
+++ b/gcc/jit/docs/cp/intro/tutorial04.rst
@@ -549,7 +549,7 @@ yields this code, which is simple enough to quote in its entirety:
           .cfi_endproc
   .LFE0:
           .size   factorial, .-factorial
-          .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-%{gcc_release})"
+          .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
           .section        .note.GNU-stack,"",@progbits
 
 Note that the stack pushing and popping have been eliminated, as has the
diff --git a/gcc/jit/docs/intro/tutorial02.rst b/gcc/jit/docs/intro/tutorial02.rst
index 5739548b0e3..d7423f25279 100644
--- a/gcc/jit/docs/intro/tutorial02.rst
+++ b/gcc/jit/docs/intro/tutorial02.rst
@@ -332,7 +332,7 @@ before compiling:
         .cfi_endproc
   .LFE6:
         .size   square, .-square
-        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)"
+        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
         .section       .note.GNU-stack,"",@progbits
 
 By default, no optimizations are performed, the equivalent of GCC's
@@ -364,7 +364,7 @@ By default, no optimizations are performed, the equivalent of GCC's
         .cfi_endproc
   .LFE7:
         .size   square, .-square
-        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-0.5.1920c315ff984892399893b380305ab36e07b455.fc20)"
+        .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
         .section        .note.GNU-stack,"",@progbits
 
 Naturally this has only a small effect on such a trivial function.
diff --git a/gcc/jit/docs/intro/tutorial04.rst b/gcc/jit/docs/intro/tutorial04.rst
index e1c47a0d2d5..111dad80e51 100644
--- a/gcc/jit/docs/intro/tutorial04.rst
+++ b/gcc/jit/docs/intro/tutorial04.rst
@@ -571,7 +571,7 @@ yields this code, which is simple enough to quote in its entirety:
           .cfi_endproc
   .LFE0:
           .size   factorial, .-factorial
-          .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2-%{gcc_release})"
+          .ident  "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
           .section        .note.GNU-stack,"",@progbits
 
 Note that the stack pushing and popping have been eliminated, as has the
diff --git a/gcc/jit/docs/topics/contexts.rst b/gcc/jit/docs/topics/contexts.rst
index dfbe968e127..0993d5733b9 100644
--- a/gcc/jit/docs/topics/contexts.rst
+++ b/gcc/jit/docs/topics/contexts.rst
@@ -423,7 +423,7 @@ Boolean options
            .cfi_endproc
        .LFE0:
            .size    square, .-square
-           .ident    "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.1-%{gcc_release})"
+           .ident    "GCC: (GNU) 4.9.0 20131023 (Red Hat 0.2)"
            .section    .note.GNU-stack,"",@progbits
 
 
-- 
2.37.1


             reply	other threads:[~2022-07-26  6:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26  6:42 Martin Liška [this message]
2022-07-26 15:41 ` David Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6d6b4928-d461-0858-1045-feb324531efb@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).