public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29451]  New: Fortran runtime error: Attempt to allocate a negative amount of memory...
@ 2006-10-13  9:46 pmason at ricardo dot com
  2006-10-13 16:25 ` [Bug fortran/29451] " jvdelisle at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pmason at ricardo dot com @ 2006-10-13  9:46 UTC (permalink / raw)
  To: gcc-bugs

Get following run-time message:

> Fortran runtime error: Attempt to allocate a negative amount of memory.

when running following program (fortran 90):

 !---------------------------------
 program fred
 print*,'Calling jackal...'
 call jackal(1,0)
 call jackal(2,0)
 end

 subroutine jackal(b,c)
 integer :: b,c
 integer :: jello(b:c)
 print*,'In jackal',size(jello)
 if (size(jello) > 0 ) then
   jello = 9
   print*,'jello = ',jello
 end if
 end subroutine jackal
 !---------------------------------

Above is compiled as "f90 tester.f90" on suse 9 linux box.
Using GCC 4.2.0 20061012 (experimental).


-- 
           Summary: Fortran runtime error: Attempt to allocate a negative
                    amount of memory...
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pmason at ricardo dot com
 GCC build triplet: gcc version 4.2.0 20061012 (experimental)
  GCC host triplet: suse 9
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2006-10-17 11:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-13  9:46 [Bug fortran/29451] New: Fortran runtime error: Attempt to allocate a negative amount of memory pmason at ricardo dot com
2006-10-13 16:25 ` [Bug fortran/29451] " jvdelisle at gcc dot gnu dot org
2006-10-16 13:08 ` pault at gcc dot gnu dot org
2006-10-16 15:30 ` patchapp at dberlin dot org
2006-10-16 21:00 ` patchapp at dberlin dot org
2006-10-17 11:32 ` 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).