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:
parent
5ec3397e38
commit
a4f759de23
@ -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
|
||||
|
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user