jit,docs: shorten assembly output

Message ID 6d6b4928-d461-0858-1045-feb324531efb@suse.cz
State New, archived
Headers
Series jit,docs: shorten assembly output |

Commit Message

Martin Liška July 26, 2022, 6:42 a.m. UTC
  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(-)
  

Comments

David Malcolm July 26, 2022, 3:41 p.m. UTC | #1
On Tue, 2022-07-26 at 08:42 +0200, Martin Liška wrote:
> Shorten the assembly example so that there is not slider.
> 
> Ready for master?

OK, thanks
Dave
  

Patch

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