This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32430] New: Warn about never allocated variables which are used


program test
 implicit none
 real, allocatable :: bar(:,:)
 print *, bar
end program test

NAG f95:
Error: foo.f90, line 5: ALLOCATABLE array BAR used but never ALLOCATEd

g95:
Warning (147): Variable 'bar' at (1) is used and never allocated


-- 
           Summary: Warn about never allocated variables which are used
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          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=32430


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]