https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71642
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Fri Jun 24 19:28:18 2016 New Revision: 237771 URL: https://gcc.gnu.org/viewcvs?rev=237771&root=gcc&view=rev Log: PR debug/71642 * tree-inline.c (remap_decl): When fixing up DECL_ORIGINAL_TYPE, just copy the type name. Added: trunk/gcc/testsuite/gfortran.dg/pr71642.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-inline.c