[Patch, Fortran] PR55854/PR55763 - CLASS(*) fixes

Paul Richard Thomas paul.richard.thomas@gmail.com
Fri Jan 4 05:00:00 GMT 2013


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



More information about the Fortran mailing list