aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStepan Kasal <skasal@redhat.com>2008-10-10 15:24:54 +0000
committerSebastian Pop <spop@gcc.gnu.org>2008-10-10 15:24:54 +0000
commite14165f41af35dad913956a1edaad7874daba6f4 (patch)
treef3f3da874d7e1173fcdb5b19be5e05a924f62dfb /gcc
parent6cbdd6b258d2e922f755c54c24ab780940955fee (diff)
downloadgcc-e14165f41af35dad913956a1edaad7874daba6f4.zip
gcc-e14165f41af35dad913956a1edaad7874daba6f4.tar.gz
gcc-e14165f41af35dad913956a1edaad7874daba6f4.tar.bz2
invoke.texi (Optimize Options): Fix typo in examples for loop strip mining and loop blocking.
2008-10-10 Stepan Kasal <skasal@redhat.com> * gcc/doc/invoke.texi (Optimize Options): Fix typo in examples for loop strip mining and loop blocking. From-SVN: r141042
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 340f30c..85703a2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-10 Stepan Kasal <skasal@redhat.com>
+
+ * gcc/doc/invoke.texi (Optimize Options): Fix typo in examples
+ for loop strip mining and loop blocking.
+
2008-10-10 Alexandre Oliva <aoliva@redhat.com>
* fortran/trans-types.c (gfc_get_nodesc_array_type): Don't
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 49b5e50..755c422 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6080,7 +6080,7 @@ ENDDO
loop strip mining will transform the loop as if the user had written:
@smallexample
DO II = 1, N, 4
- DO I = II, min (II + 4, N)
+ DO I = II, min (II + 3, N)
A(I) = A(I) + C
ENDDO
ENDDO
@@ -6103,8 +6103,8 @@ loop blocking will transform the loop as if the user had written:
@smallexample
DO II = 1, N, 64
DO JJ = 1, M, 64
- DO I = II, min (II + 64, N)
- DO J = JJ, min (JJ + 64, M)
+ DO I = II, min (II + 63, N)
+ DO J = JJ, min (JJ + 63, M)
A(J, I) = B(I) + C(J)
ENDDO
ENDDO