Dear All, Committed as revision 207645 - thanks for review and RM OK.
Cheers Paul On 9 February 2014 13:55, Richard Biener <rguent...@suse.de> wrote: > On February 8, 2014 6:48:08 PM GMT+01:00, Paul Richard Thomas > <paul.richard.tho...@gmail.com> 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 <pa...@gcc.gnu.org> >> >> 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 <pa...@gcc.gnu.org> >> >> PR fortran/59026 >> * gfortran.dg/elemental_by_value_1.f90 : New test > > -- The knack of flying is learning how to throw yourself at the ground and miss. --Hitchhikers Guide to the Galaxy