On February 8, 2014 6:48:08 PM GMT+01:00, Paul Richard Thomas <[email protected]> wrote: >Dear All, > >This is another corner of a corner case that is not a regression but >fixes a wrong-code-on-valid. > >At present, an actual argument of an elemental procedure with the >VALUE attribute is not passed by value. The fix is obvious. > >Bootstraps and regtests on FC17/x86_64 - OK for trunk, 4.8 and 4.7?
Ok from a RM perspective. Richard. >Cheers > >Paul > >2014-02-08 Paul Thomas <[email protected]> > > PR fortran/59026 > * trans-expr.c (gfc_conv_procedure_call): Pass the value of the > actual argument to a formal argument with the value attribute > in an elemental procedure. > >2014-02-08 Paul Thomas <[email protected]> > > PR fortran/59026 > * gfortran.dg/elemental_by_value_1.f90 : New test
