public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/25031]  New: Allocatable array can be reallocated.
@ 2005-11-25  9:00 iguchi at coral dot t dot u-tokyo dot ac dot jp
  2005-11-25 15:09 ` [Bug fortran/25031] " eedelman at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: iguchi at coral dot t dot u-tokyo dot ac dot jp @ 2005-11-25  9:00 UTC (permalink / raw)
  To: gcc-bugs

In the following program, the run-time error should occur.
at the second allocation.

But I can successfully executed the program.
And at the second allocation, memory leak is also occur.

I think this is wrong behavior.

program alloc_test
  implicit none
  integer, allocatable :: a(:)

  allocate(a(4))
  allocate(a(4))
end program


-- 
           Summary: Allocatable array can be reallocated.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: iguchi at coral dot t dot u-tokyo dot ac dot jp


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-04-12  1:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-25  9:00 [Bug fortran/25031] New: Allocatable array can be reallocated iguchi at coral dot t dot u-tokyo dot ac dot jp
2005-11-25 15:09 ` [Bug fortran/25031] " eedelman at gcc dot gnu dot org
2006-01-28 18:49 ` tkoenig at gcc dot gnu dot org
2006-03-03 16:18 ` tkoenig at gcc dot gnu dot org
2006-03-23 18:36 ` tkoenig at gcc dot gnu dot org
2006-03-30 16:30 ` tkoenig at gcc dot gnu dot org
2006-04-08 17:05 ` [Bug fortran/25031] [4.1 only] " tkoenig at gcc dot gnu dot org
2006-04-08 17:06 ` tkoenig at gcc dot gnu dot org
2006-04-09  9:00 ` tkoenig at gcc dot gnu dot org
2006-04-12  1:23 ` pinskia 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).