Skip to content

Commit

Permalink
2018-01-08 Steven G. Kargl <kargl@gcc.gnu.org>
Browse files Browse the repository at this point in the history
	* expr.c (gfc_check_pointer_assign): Fix typo in comment.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256352 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
kargl committed Jan 8, 2018
1 parent 3080388 commit 2a6d226
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gcc/fortran/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion gcc/fortran/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 2a6d226

Please sign in to comment.