Commit e14165f4 by Stepan Kasal Committed by Sebastian Pop

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
parent 6cbdd6b2
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment