[Bug fortran/27589] Add compiler flag to check for uninitalized values at runtime

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 21 16:58:00 GMT 2007



------- Comment #3 from burnus at gcc dot gnu dot org  2007-06-21 16:58 -------
Dump a valid program which contains equivalence to show a harder case for the
checks (NAG f95 chokes on it).

      program main
      implicit none
      integer :: i, it, jt
      real    :: tt
      equivalence    (jt,tt)
      dimension it(10)
      do i=1,10
        tt=i
        print *, tt, jt
        it(i)=jt
      end do
      end


-- 


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



More information about the Gcc-bugs mailing list