Re: [Patch, Fortran] PR 52151: reallocation w/ RESHAPE: also set stride

2012-02-08 Thread Steve Kargl
On Wed, Feb 08, 2012 at 06:46:03PM +0100, Tobias Burnus wrote: > > this patch is a follow up to the recent patch on RESHAPE with an > allocatable LHS. It turned out that if the LHS is not allocated or has > the wrong shape, the bounds are not correctly set. Or to be precise: The > just internal

[Patch, Fortran] PR 52151: reallocation w/ RESHAPE: also set stride

2012-02-08 Thread Tobias Burnus
Hi all, this patch is a follow up to the recent patch on RESHAPE with an allocatable LHS. It turned out that if the LHS is not allocated or has the wrong shape, the bounds are not correctly set. Or to be precise: The just internally used* "stride" is not set correctly. Result: Either the wro