------- Comment #1 from jaydub66 at gmail dot com 2008-05-03 20:11 ------- Confirmed. The ICEs you get are really due to my rev. 134867, which actually also triggered some testsuite failures (use_only_1.f90 and g77/970915-0.f). I have no idea why I didn't notice it (sorry!).
This can easily be fixed by the following small patch: Index: gcc/fortran/misc.c =================================================================== --- gcc/fortran/misc.c (revision 134867) +++ gcc/fortran/misc.c (working copy) @@ -77,6 +77,7 @@ gfc_clear_ts (gfc_typespec *ts) ts->derived = NULL; ts->kind = 0; ts->cl = NULL; + ts->interface = NULL; /* flag that says if the type is C interoperable */ ts->is_c_interop = 0; /* says what f90 type the C kind interops with */ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36114