http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55763



--- Comment #21 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-01-06 
15:33:24 UTC ---

(In reply to comment #6)

> To the last test case of comment 0:



I mentioned this example in the array-descriptor/subpointer PR 40737 to make

sure it is not forgotten.





(In reply to comment #14)

> The following valid code gives an ICE:

>     class(*), pointer :: ptr2 => x



That's now PR 55887. For the diagnostic part, see patch

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





(In reply to comment #19)

> Great!  I extended the example from comment #10 to find:



>     class(myobj) :: this

>     select type (this)

>     type is (integer)





Thanks for reporting the ICE on invalid code; I submitted a patch for this at

http://gcc.gnu.org/ml/fortran/2013-01/msg00046.html

Reply via email to