Re: [Patch, Fortran] FINAL (prep patches 2/5): Add internal STRIDE intrinsic

2013-01-04 Thread Paul Richard Thomas
Dear Tobias, This one is also OK for trunk. It does cross my mind, however, that we should offer STRIDE as a gcc extension, in anticipation of F201x. Cheers Paul On 31 December 2012 13:17, Tobias Burnus bur...@net-b.de wrote: The attached patch adds a new - internal only - intrinsic, STRIDE,

[Patch, Fortran] FINAL (prep patches 2/5): Add internal STRIDE intrinsic

2012-12-31 Thread Tobias Burnus
The attached patch adds a new - internal only - intrinsic, STRIDE, which returns the stride of an array with array descriptor; for an integer :: array(5,5), the stride of dim=2 is 5. This new intrinsic is only internally available and will be used by the finalization wrapper to handle