https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69080
--- Comment #16 from Mueller <[email protected]> --- I stumbled upon this problem when creating an object-oriented string class if I remember correctly. Some procedure would allocate a string and return it (like dummy_create_allocatable in the test prog). The calling procedure would use that string in some way (like dummy_trigger is doing) and then doesn't need the string anymore. So there was a use case for this: We wanted to have a nice string class. This, sadly, is not feasable now as returned string objects would just end in nirvana and not be deallocated if I gathered everything correctly.
