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
This commit is contained in:
Steven G. Kargl 2018-01-08 20:48:26 +00:00
parent 5ec3397e38
commit a4f759de23
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 "