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/28105] Check for memory allocations bigger than size_t


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Since gfortran 4.8.1 up to trunk I get

pr28105.f90:1:0: error: size of variable 'm' is too large
    real(4), dimension(1025*1024*1024) :: m

when compiling 

   real(4), dimension(1025*1024*1024) :: m
   m = 0.
   print *, m(1025*1024*1024)
end

with -m32. Revision 187017 (2012-05-01) does not give any error, but revision
187060 (2012-05-02) does. Closing as FIXED. Please reopen if I am wrong.


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