The following invalid program gives a memory access error. Note, without
INTRINSIC or with IMPLICIT NONE, everything works as expected.

intrinsic cpu_time
real :: time
print *, CPU_TIME(TIME)
end


-- 
           Summary: ICE with "intrinsic" plus calling a subroutine as
                    function
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33229

Reply via email to