http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50937
--- Comment #9 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-10-31 21:02:52 UTC --- On Mon, Oct 31, 2011 at 08:17:51PM +0000, fwi at inducks dot org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50937 > > --- Comment #8 from fwi at inducks dot org 2011-10-31 20:17:51 UTC --- > I do not(In reply to comment #7) > > On Mon, Oct 31, 2011 at 07:25:38PM +0000, fwi at inducks dot org wrote: > > Yes, the problem of integer overflow that Janne mentioned has > > been corrected. > > Great. > > I indeed do not know everything about the OS and what it does when I > "allocate" > an array. But that's exactly the purpose of a programming language like > Fortran, an abstraction that should be "good enough" for programing without > having to know everything about the OS. > Secondly, users are sometimes better than programmers at telling them if > something is really useful or not. In that case, the question is: what is the > purpose of the STAT flag in an allocate STATEMENT if it won't give you any > reasonable indication if the array you have can be used or not. > Use a newer version of gfortran 4.1.2 and 4.4.3 are old. Install 4.6.2 and see what happens. You've been told twice that the integer overflow has been fixed.