Found at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/57938d5454a90397/589afd86ab2aab9b
The following program gives an ICE: test.f90:14: internal compiler error: in gfc_trans_auto_array_allocation, at fortran/trans-array.c:4115 The bug has been found by James Van Buskirk. ! Automatic data object function fun4a(x) real x,fun4a ! real y(nint(exp(3.0))) real y(minval([nint(exp(3.0))])) fun4a = y(1) y = x end function fun4a function fun4b(x) real x,fun4b ! real y(nint(exp(3.0))) real y(minval([nint(exp(3.0))])) save fun4b = y(1) y = x end function fun4b -- Summary: ICE in gfc_trans_auto_array_allocation Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org OtherBugsDependingO 32834 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37836