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

2013-01-03 Thread Paul Richard Thomas
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 wrote: > The attached patch fixes two ICE. > > Regarding the unlimited_polymorp

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

2013-01-03 Thread Tobias Burnus
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 2013-0