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

Tobias Burnus burnus@net-b.de
Mon Dec 31 12:17:00 GMT 2012


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 noncontiguous arrays.

Build on x86-64-gnu-linux.
OK for the trunk?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stride-final.diff
Type: text/x-patch
Size: 4267 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121231/1bf0b994/attachment.bin>


More information about the Gcc-patches mailing list