THe attached code produces the ICE. [EMAIL PROTECTED] TEMP]$ gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gcc42 --enable-languages=c,c++,fortran Thread model: posix gcc version 4.2.0 20060905 (experimental) [EMAIL PROTECTED] TEMP]$ gfortran -c bug-fold.f90 bug-fold.f90: In function 'inner_sub': bug-fold.f90:54: internal compiler error: in fold_convert, at fold-const.c:2098 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-- Summary: ICE on derived type with host association Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sfilippone at uniroma2 dot it GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28959