Fix ChangeLog, fix parentheses from previous patch to trans-intrinsic.c
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Mon, 14 Jun 2004 19:25:33 +0000 (21:25 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Mon, 14 Jun 2004 19:25:33 +0000 (21:25 +0200)
From-SVN: r83128

gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c

index 04e5290..57a9164 100644 (file)
@@ -1,4 +1,4 @@
-2004-05-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+2004-06-14  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
 
        PR fortran/15211
        * trans-intrinsic.c (gfc_conv_intrinsic_len): Deal with arrays
index 67b6cc4..0c12353 100644 (file)
@@ -1874,8 +1874,9 @@ gfc_conv_intrinsic_len (gfc_se * se, gfc_expr * expr)
       break;
 
     default:
-       if (arg->expr_type == EXPR_VARIABLE && arg->ref == NULL
-           || (arg->ref->next == NULL && arg->ref->type == REF_ARRAY))
+       if (arg->expr_type == EXPR_VARIABLE 
+           && (arg->ref == NULL || (arg->ref->next == NULL 
+                                    && arg->ref->type == REF_ARRAY)))
          {
            /* This doesn't catch all cases. 
               See http://gcc.gnu.org/ml/fortran/2004-06/msg00165.html