diff options
author | Steven G. Kargl <kargls@comcast.net> | 2006-06-05 19:50:05 +0000 |
---|---|---|
committer | Steven G. Kargl <kargl@gcc.gnu.org> | 2006-06-05 19:50:05 +0000 |
commit | 6c655c5e60af2d983e017124388622a973868661 (patch) | |
tree | e6c8b821b3715908c5ff2a7bc365e534a5f0d065 /gcc | |
parent | a40df91b6868a9878742b6c971af62cee0bf15fd (diff) | |
download | gcc-6c655c5e60af2d983e017124388622a973868661.tar.gz |
data.c (gfc_assign_data_value): Fix comment typo.
2006-06-05 Steven G. Kargl <kargls@comcast.net>
* data.c (gfc_assign_data_value): Fix comment typo. Remove
a spurious return.
From-SVN: r114406
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/data.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index abff6a261fb..c0301daa674 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2006-06-05 Steven G. Kargl <kargls@comcast.net> + + * data.c (gfc_assign_data_value): Fix comment typo. Remove + a spurious return. + 2006-06-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/14067 diff --git a/gcc/fortran/data.c b/gcc/fortran/data.c index c708becd095..e12eccd0a29 100644 --- a/gcc/fortran/data.c +++ b/gcc/fortran/data.c @@ -231,7 +231,7 @@ gfc_assign_data_value (gfc_expr * lvalue, gfc_expr * rvalue, mpz_t index) /* Break out of the loop if we find a substring. */ if (ref->type == REF_SUBSTRING) { - /* A substring should always br the last subobject reference. */ + /* A substring should always be the last subobject reference. */ gcc_assert (ref->next == NULL); break; } @@ -340,7 +340,6 @@ gfc_assign_data_value (gfc_expr * lvalue, gfc_expr * rvalue, mpz_t index) #endif gfc_notify_std (GFC_STD_GNU, "Extension: re-initialization " "of '%s' at %L", symbol->name, &expr->where); - return; } expr = gfc_copy_expr (rvalue); |