[Patch, fortran] PR23060 - %VAL, %LOC and %REF

Jack Howarth howarth@bromo.msbb.uc.edu
Sun Dec 31 07:55:00 GMT 2006


Steve,
   For this patch there is only a single section which doesn't
apply cleanly to trans-expr.c...

***************
*** 1980,1985 ****
                {
                  gfc_conv_expr (&parmse, e);
                }
              else
                {
                  gfc_conv_expr_reference (&parmse, e);
--- 2031,2040 ----
                {
                  gfc_conv_expr (&parmse, e);
                }
+             else if (arg->name && arg->name[0] == '%')
+               /* Argument list functions %VAL, %LOC and %REF are signalled
+                  through arg->name.  */
+               conv_arglist_function (&parmse, arg->expr, arg->name);
              else
                {
                  gfc_conv_expr_reference (&parmse, e);

Other than that the backport looks to be trivial.
                  Jack



More information about the Fortran mailing list