I downloaded http://users.physik.fu-berlin.de/~tburnus/gcc-trunk/gcc-trunk-x86_64.tar.gz and attempted to compile the file listed below. I got the message:
a.f90: In function speak: a.f90:7:0: internal compiler error: tree check: expected function_decl, have namespace_decl in gfc_finish_var_decl, at fortran/trans-decl.c:584 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Reducing the array size from 8193 to 8192 makes the problem go away. MODULE Adventure_Common INTEGER :: lines(8193) END MODULE Adventure_Common MODULE Adventure_Subs USE Adventure_Common CONTAINS SUBROUTINE speak l=lines(1) END SUBROUTINE speak END MODULE Adventure_Subs -- Summary: ICE in gfc_finish_var_decl, at fortran/trans-decl.c:584 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michael dot a dot richmond at nasa dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40846