subroutine ss(w) implicit none integer :: w(:) integer :: b,c,d b = w(8) c = 5 d = 3 call s1(c) call s2(b+c) call s3(w(b)) end subroutine ss
> gfortran-4.5 -O2 -S t.f90 t.f90: In function ss: t.f90:1:0: internal compiler error: in form_sum, at reload.c:5348 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. -- Summary: [4.5 Regression] ICE in form_sum, at reload.c:5348 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org GCC target triplet: x86-64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43475