https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97694
--- Comment #6 from martin <mscfd at gmx dot net> --- There is still a somewhat related problem if a variable of a derived type with allocatable component is provided to cssel. See bug 98342 with a simplified example code (without class(*)).