This is Walt's fc006.f95. It uses lbound and ubound, so it may be related to other PRs.
kargl[231] gfc41 -static -o z fc006.f95 fc006.f95: In function 'fcn': fc006.f95:33: internal compiler error: in gfc_conv_descriptor_dtype, at fortran/trans-array.c:177 -- Summary: gfc_conv_descriptor_dtype, at fortran/trans-array.c:177 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kargl at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20664