Re: [Patch, fortran] PR59026 - ELEMENTAL procedure with VALUE arguments emits wrong code

2014-02-09 Thread Paul Richard Thomas
Dear All, Committed as revision 207645 - thanks for review and RM OK. Cheers Paul On 9 February 2014 13:55, Richard Biener wrote: > On February 8, 2014 6:48:08 PM GMT+01:00, Paul Richard Thomas > wrote: >>Dear All, >> >>This is another corner of a corner case that is not a regression but >>f

Re: [Patch, fortran] PR59026 - ELEMENTAL procedure with VALUE arguments emits wrong code

2014-02-09 Thread Richard Biener
On February 8, 2014 6:48:08 PM GMT+01:00, Paul Richard Thomas 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

Re: [Patch, fortran] PR59026 - ELEMENTAL procedure with VALUE arguments emits wrong code

2014-02-08 Thread Mikael Morin
Le 08/02/2014 18:48, Paul Richard Thomas a écrit : > 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 obviou

[Patch, fortran] PR59026 - ELEMENTAL procedure with VALUE arguments emits wrong code

2014-02-08 Thread Paul Richard Thomas
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 an