This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]