https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38619
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 Status|NEW |WAITING Severity|normal |enhancement --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- The test compiles if SEQUENCE is added after TYPE :: ta I agree that the error "Can't convert TYPE(ta) to TYPE(ta)" is not very helpful. One possibility is to split gfc_error ("Can't convert %s to %s at %L", gfc_typename (&from_ts), gfc_typename (ts), &expr->where); in intrinsic.c, one for the general case and one for derived types with the addition of something such as "consider adding a SEQUENCE statement". Is it worth the trouble (the PR is ten year old)?