This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [Fortran,Patch] PR 41872 (alloc. scalars), PR 42597 (proc-pointer init)


(early) *ping*

http://gcc.gnu.org/ml/fortran/2010-01/msg00025.html

Tobias Burnus wrote:
> another two patches:
>
> a) PR 42597
> gfortran ICEd when initializing a proc-pointer with NULL() - but only
> when its interface was one for a array-returning function. The solution
> is simple: Call gfc_conv_initializer with "array = false" in that case.
>
> b) PR 41872
> Allocatable scalars: If they are marked as SAVE no
> nullification/automatic deallocation is allowed. The solution is trivial
> (see patch). Note: One cannot simply add it to the outer conditional as
> it otherwise fails with an unreachable().
> I tested it also for CLASS but that fails (with the patch) for other
> reasons, cf. PR 42610. There are still some other issues left, e.g.
> nullifying the result variable of a character-returning function.
>
> Build and regtested (libgomp, fortran) on x86-64-linux with no new failures.
> OK for the trunk?
>   


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