aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteven G. Kargl <kargl@gcc.gnu.org>2018-01-08 20:48:26 +0000
committerSteven G. Kargl <kargl@gcc.gnu.org>2018-01-08 20:48:26 +0000
commita4f759de239b9b524c283e5889d3c2d640b8d4b7 (patch)
treef53f4ef9201fdd196a93fc659ce97ee6e9fd8573 /gcc
parent5ec3397e38713089e0cef0cb948c29642bea05b4 (diff)
downloadgcc-a4f759de239b9b524c283e5889d3c2d640b8d4b7.zip
gcc-a4f759de239b9b524c283e5889d3c2d640b8d4b7.tar.gz
gcc-a4f759de239b9b524c283e5889d3c2d640b8d4b7.tar.bz2
expr.c (gfc_check_pointer_assign): Fix typo in comment.
2018-01-08 Steven G. Kargl <kargl@gcc.gnu.org> * expr.c (gfc_check_pointer_assign): Fix typo in comment. From-SVN: r256352
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/expr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d150f67..adb8260 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-08 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * expr.c (gfc_check_pointer_assign): Fix typo in comment.
+
2018-01-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/83611
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c
index a8f0f0f..5be8da1 100644
--- a/gcc/fortran/expr.c
+++ b/gcc/fortran/expr.c
@@ -3911,7 +3911,7 @@ gfc_check_pointer_assign (gfc_expr *lvalue, gfc_expr *rvalue)
/* Error for assignments of contiguous pointers to targets which is not
contiguous. Be lenient in the definition of what counts as
- congiguous. */
+ contiguous. */
if (lhs_attr.contiguous && !gfc_is_simply_contiguous (rvalue, false, true))
gfc_error ("Assignment to contiguous pointer from non-contiguous "