This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch, fortran, committed] trans-array.c: Comment edit
- From: Brooks Moses <brooks dot moses at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 May 2007 20:43:09 -0700
- Subject: [patch, fortran, committed] trans-array.c: Comment edit
A minor addendum to some comments, which I discovered were misleading
when I was trying to track down to cause of PR 31610.
Committed to trunk.
- Brooks
--------------------------------------------------------------------
2007-05-28 Brooks Moses <brooks.moses@codesourcery.com>
* trans-array.c (gfc_conv_expr_descriptor): Edit comment.
--------------------------------------------------------------------
Index: trans-array.c
===================================================================
--- trans-array.c (revision 125106)
+++ trans-array.c (working copy)
@@ -4314,16 +4314,16 @@
This function is also used for array pointer assignments, and there
are three cases:
- - want_pointer && !se->direct_byref
+ - se->want_pointer && !se->direct_byref
EXPR is an actual argument. On exit, se->expr contains a
pointer to the array descriptor.
- - !want_pointer && !se->direct_byref
+ - !se->want_pointer && !se->direct_byref
EXPR is an actual argument to an intrinsic function or the
left-hand side of a pointer assignment. On exit, se->expr
contains the descriptor for EXPR.
- - !want_pointer && se->direct_byref
+ - !se->want_pointer && se->direct_byref
EXPR is the right-hand side of a pointer assignment and
se->expr is the descriptor for the previously-evaluated
left-hand side. The function creates an assignment from