public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20779] New: ALLOCATEing the STAT variable not detected
@ 2005-04-05 23:10 tobi at gcc dot gnu dot org
  2005-04-05 23:11 ` [Bug fortran/20779] " tobi at gcc dot gnu dot org
  2005-04-05 23:35 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-04-05 23:10 UTC (permalink / raw)
  To: gcc-bugs

program fc011

! Submitted by Walt Brainerd, The Fortran Company
! GNU Fortran 95 (GCC 4.1.0 20050322 (experimental))
! Windows XP

  ! This program violates the following rule, identified below.

  integer, pointer :: PTR

  ! stat-variable must not be allocated within the ALLOCATE statement in
  ! which it appears -- this in general cannot be checked at compile-time
  ! but in this case it can be.

  allocate (PTR, stat=PTR)

  print *, 'This program has one error', PTR

end program fc011

-- 
           Summary: ALLOCATEing the STAT variable not detected
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-20779-8513@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-10-03 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-05 23:10 [Bug fortran/20779] New: ALLOCATEing the STAT variable not detected tobi at gcc dot gnu dot org
2005-04-05 23:11 ` [Bug fortran/20779] " tobi at gcc dot gnu dot org
2005-04-05 23:35 ` pinskia at gcc dot gnu dot org
     [not found] <bug-20779-8513@http.gcc.gnu.org/bugzilla/>
2006-09-05 19:39 ` pault at gcc dot gnu dot org
2006-09-17 17:40 ` patchapp at dberlin dot org
2006-10-03 21:40 ` pault at gcc dot gnu dot org
2006-10-03 21:41 ` pault at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).