http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56284
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[OOP] ICE with contained |[OOP] ICE with alternate |routine which |return in type-bound |inappropriately compares a |procedure |string and a number | --- Comment #3 from janus at gcc dot gnu.org 2013-02-11 10:09:39 UTC --- (In reply to comment #2) > > subroutine getRecord ( * ) > end subroutine Ok, I admit that I had to look up the asterisk thingy. It's called "alternate return" and is a obsolescent feature since at least F95. According to PR 40881, we should have a warning message for this, but it does not seem to trigger for the test case here. Should be fixed I guess (just as the ICE, although combining obsolescent features like alternate return with new stuff such as type binding is surely not recommended).