------- Comment #5 from burnus at gcc dot gnu dot org  2009-07-01 16:09 -------
Another failure - this time for __convert_i4_r4 (a EXPR_FUNCTION) as actual
argument, which does not set sym->result ...

Test case:

      SUBROUTINE plotdop(amat)
      IMPLICIT NONE
      REAL,    INTENT (IN) :: amat(3,3)
      integer :: i1
      real :: pt(3)
      i1 = 1
      pt = MATMUL(amat,(/i1,i1,i1/))
      END SUBROUTINE plotdop

Patch:

--- intrinsic.c (revision 149129)
+++ intrinsic.c (working copy)
@@ -3996,0 +3997 @@ gfc_convert_type_warn (gfc_expr *expr, g
+  new_expr->symtree->n.sym->result = new_expr->symtree->n.sym;


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40605

Reply via email to