Re: [Fortran-Dev] Update SIZE/SHAPE and extent handling

2013-05-06 Thread Tobias Burnus
Tobias Burnus wrote: Build and regtested on x86-64-gnu-linux. I intent to commit the patch soon. Committed as Rev. 198623 + merged trunk into the branch (Rev. 198624). Tobias

[Fortran-Dev] Update SIZE/SHAPE and extent handling

2013-05-05 Thread Tobias Burnus
This patch changes the setting of the extent field. TS29113 requires that extent is >= 0; before we used ubound directly, i.e. extent = ubound - lbound+1. Thus, the extent could become negative. Actually, TS29113 also permits negative extents: For assumed-size arrays. Now since the extent is c