On Wed, Sep 11, 2019 at 06:44:50AM +0100, Paul Richard Thomas wrote: > =================================================================== > *** gcc/testsuite/gfortran.dg/dependency_55.f90 (nonexistent) > --- gcc/testsuite/gfortran.dg/dependency_55.f90 (working copy) > *************** > *** 0 **** > --- 1,17 ---- > + ! { dg-do run } > + ! > + ! Test the fix for PR91717 in which the concatenation operation ICEd. > + ! > + ! Contributed by Damian Rouson <dam...@sourceryinstitute.org> > + ! > + type core > + character (len=:), allocatable :: msg > + end type > + > + type(core) :: my_core > + > + my_core%msg = my_core%msg//"my message is: "
my_core%msg is undefined on the RHS. This is invalid Fortran. Not sure whether your patch is correct or not. -- Steve