This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Typo in trans-stmt.c
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 13 May 2005 15:34:19 +0100
- Subject: Typo in trans-stmt.c
The patch below fixes a comment typo in trans-stmt.c
Applied to mainline and 4.0-branch.
Paul
2005-05-13 Paul Brook <paul@codesourcery.com>
* trans-stmt.c (gfc_trans_forall_1): Fix comment typo.
Index: trans-stmt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/trans-stmt.c,v
retrieving revision 1.28
diff -u -p -r1.28 trans-stmt.c
--- trans-stmt.c 1 Apr 2005 04:16:52 -0000 1.28
+++ trans-stmt.c 13 May 2005 14:29:59 -0000
@@ -2214,7 +2214,7 @@ gfc_trans_pointer_assign_need_temp (gfc_
for (i = start; i <= end; i += stride)
{
if (masktmp[maskindex++])
- e<i> = f<i>
+ g<i> = h<i>
}
Note that this code only works when there are no dependencies.