https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104555
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #3 from anlauf at gcc dot gnu.org ---
In this case the associate-name is essential in the SELECT TYPE,
as well as the surrounding SELECT RANK, and a CHARACTER component
in the derived type.
Replacing
character(:), allocatable :: a
by
character(10) :: a
changes the ICE to a bogus error message with a corrupted variable name.
valgrind gives invalid reads...