This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]