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 04e529005f1453fa74a7dc83fef581684dd95aba..57a9164b2d09d00ed414099b7944c2597830a7b4 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 67b6cc46dad77540be114e5ddf70ef62d5c51e01..0c12353f240f10cd45d562d7488824e3561cbf1d 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