re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
authorTobias Burnus <burnus@net-b.de>
Wed, 6 Apr 2011 18:30:58 +0000 (20:30 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 6 Apr 2011 18:30:58 +0000 (20:30 +0200)
2011-04-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/18918
        * trans-intrinsic.c (gfc_conv_intrinsic_function): Fix
        call for this_image.

From-SVN: r172060

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

index 0206ba9430a55ec852270d2c136f6eaeafd4a934..c6cf7ff7208147e3cdd44f72ea975bc6caabe2de 100644 (file)
@@ -1,3 +1,9 @@
+2011-04-06  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/18918
+       * trans-intrinsic.c (gfc_conv_intrinsic_function): Fix
+       call for this_image.
+
 2011-04-05  Nathan Froyd  <froydnj@codesourcery.com>
 
        * trans-intrinsic.c (gfc_build_intrinsic_lib_fndecls): Use
index 9a696322d9c1f193811546386786a5e0f3fcde46..1a90204a2da2841dd57120a71a1a02e91891866d 100644 (file)
@@ -6260,7 +6260,7 @@ gfc_conv_intrinsic_function (gfc_se * se, gfc_expr * expr)
       break;
 
     case GFC_ISYM_THIS_IMAGE:
-      if (expr->value.function.actual)
+      if (expr->value.function.actual->expr)
        conv_intrinsic_cobound (se, expr);
       else
        trans_this_image (se, expr);