diff options
-rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fortran/trans-stmt.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 60c8dba..8a2134f 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2004-10-07 Kazu Hirata <kazu@cs.umass.edu> + + * trans-stmt.c: Fix a comment typo. + 2004-10-07 Paul Brook <paul@codesourcery.com> PR fortran/17678 diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c index 58bb1a1..501278a 100644 --- a/gcc/fortran/trans-stmt.c +++ b/gcc/fortran/trans-stmt.c @@ -485,7 +485,7 @@ gfc_trans_arithmetic_if (gfc_code * code) } -/* Translate the simple DO construct. This is where the loop varable has +/* Translate the simple DO construct. This is where the loop variable has integer type and step +-1. We can't use this in the general case because integer overflow and floating point errors could give incorrect results. |