another case where an unneeded temp is created. Maybe not so easy to fix? SUBROUTINE S1(a) integer :: a(:),i,N N=SIZE(a) a=(/(I,I=1,N)/) END SUBROUTINE
-- Summary: unneeded temporary Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk OtherBugsDependingO 36854 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38111