This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] Fix regressions PRs 48810 and 48800: wrong access flag and missing deferred-shape diagnostics


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]