On 04/28/2011 04:18 PM, Tobias Burnus wrote:
The attached patch fixes two regressions:
a) PR 48810: For type-bound procedures, the access flags should be checked only
for the generic function, not for the specific function the generic resolves to.
(4.6/4.7 rejects-valid regression.)
b) PR 48800: Function-results shall not be assumed-shape arrays, unless they are
allocatable or a pointer. gfortran was missing a diagnostic for that. (The
diagnostic never existed, but with 4.6/4.7 it now ICEs as realloc on assignment
does not like it.)
Build and regtested on x86-64-linux.
OK for the trunk and the 4.6 branch?
Yes, OK and we just keep chipping away at these bugs and we'll be in good shape!
Thanks,
Jerry