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] PR55854/PR55763 - CLASS(*) fixes


Dear Tobias,

Hah!  You are right about null(x).  It is an odd constraint, though,
since all that is used is the type/kind information.

OK for trunk

Thanks for the patch.

Paul

On 3 January 2013 17:38, Tobias Burnus <burnus@net-b.de> wrote:
> The attached patch fixes two ICE.
>
> Regarding the unlimited_polymorphic_3.f03 change: "null(x)" is invalid as
> initialization expression (null-init). Using "ptr2 => x" would be valid, but
> it ICEs. (Cf. PR55763, comment 13)
>
> Build and regtested on x86-64-gnu-linux.
> OK for the trunk?
>
> Tobias



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


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