program main implicit none real :: start,end real :: t=0.5 integer :: i call cpu_time(start) do i=1,10000000 t=sin(t) enddo call cpu_time(end) print '(f6.3)',end-start end program main
------------------------ gfortran 430 and 423 are ok. gfortran 4.4.0 failed. -- Summary: gfortran 4.4.0-20060501 failed to compile this program Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: linuxl4 at sohu dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36103