[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    [patch, fortran, committed] trans-array.c: Comment edit
From:       Brooks Moses <brooks.moses () codesourcery ! com>
Date:       2007-05-29 3:43:09
Message-ID: 465BA14D.3030108 () codesourcery ! com
[Download RAW message or body]

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.

--------------------------------------------------------------------

["trans-array-comments.diff" (text/x-patch)]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic